diff options
-rw-r--r-- | app/views/news/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/news/index.html.erb b/app/views/news/index.html.erb index 7fa75dc51..614a7b1f7 100644 --- a/app/views/news/index.html.erb +++ b/app/views/news/index.html.erb @@ -3,7 +3,7 @@ new_project_news_path(@project), :class => 'icon icon-add', :onclick => 'showAndScrollTo("add-news", "news_title"); return false;') if @project && User.current.allowed_to?(:manage_news, @project) %> -<%= watcher_link(@project.enabled_module('news'), User.current) %> +<%= watcher_link(@project.enabled_module('news'), User.current) if @project && User.current.logged? %> </div> <div id="add-news" style="display:none;"> |