From fb54fcbe86a283e090136571cf84ab23c720f84e Mon Sep 17 00:00:00 2001 From: huangjingquan Date: Sat, 2 Nov 2013 10:45:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E6=96=B0=E9=97=BB?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=B8=A4=E4=B8=AA=E5=9B=BE=E5=83=8F=E9=87=8D?= =?UTF-8?q?=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/news/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/news/index.html.erb b/app/views/news/index.html.erb index 51fa5b9a1..a2b2183e5 100644 --- a/app/views/news/index.html.erb +++ b/app/views/news/index.html.erb @@ -54,7 +54,7 @@

<% else %> <% @newss.each do |news| %> - <%= image_tag(url_to_avatar(news.author), :class => "avatar") %> +
<%= link_to image_tag(url_to_avatar(news.author), :class => "avatar"), user_path(news.author) %>