修正页脚合作单位不显示问题,原因:控制中的变量名被修改,但未改view中对应的变量名,解决:改为一致的
This commit is contained in:
parent
fadddcc09a
commit
ff95178ce7
|
@ -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 %>
|
||||
|
|
Loading…
Reference in New Issue