From 3d13304f267e725f21ecb7e26b13723014d89712 Mon Sep 17 00:00:00 2001 From: huangjingquan Date: Tue, 13 Aug 2013 11:24:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=A8=E6=88=B7=E9=A1=B5=E9=9D=A2=E7=B2=89?= =?UTF-8?q?=E4=B8=9D=E6=95=B0=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/welcome/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb index 566727eef..fe8602c89 100644 --- a/app/views/welcome/index.html.erb +++ b/app/views/welcome/index.html.erb @@ -194,7 +194,7 @@ software development and software crowdsourcing. <%=link_to image_tag(url_to_avatar(User.current), :class => 'avatar'), user_path(User.current) %> <%= l(:label_user_watcher) %> (<%= link_to User.watched_by(User.current).count, user_path(User.current) %>)  - <%= l(:label_user_fans) %>(<%=link_to @user.watcher_users(@user.id).count,user_path(User.current) %>) + <%= l(:label_user_fans) %>(<%=link_to User.current.watcher_users(User.current.id).count, user_path(User.current) %>) <% unless User.current.memberships.empty? %>