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? %>