修改了新闻页面两个图像重复bug

This commit is contained in:
huangjingquan 2013-11-02 10:45:58 +08:00
parent 09eb16ad9a
commit fb54fcbe86
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@
</p>
<% else %>
<% @newss.each do |news| %>
<td colspan="2" valign="top" width="50" ><%= image_tag(url_to_avatar(news.author), :class => "avatar") %></td>
<td><table width="580px" border="0">
<td colspan="2" valign="top" width="50" ><%= link_to image_tag(url_to_avatar(news.author), :class => "avatar"), user_path(news.author) %></td>
<td>