修正页脚合作单位不显示问题,原因:控制中的变量名被修改,但未改view中对应的变量名,解决:改为一致的

This commit is contained in:
z9hang 2014-10-15 17:31:02 +08:00
parent fadddcc09a
commit ff95178ce7
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@
<%= @organize.description.html_safe unless @organize.nil?%>
</p>
<div id="logo_link">
<% unless @companys.nil?%>
<% @companys.each do |company| %>
<% unless @companies.nil?%>
<% @companies.each do |company| %>
<span class="footer_logo_link"><%= link_to image_tag(url_to_avatar(company),:size=>"100x30",:alt=>company.name),company.url, :target => "_blank" %></span>
<% end %>
<% end %>