diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-10-22 14:42:38 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-10-22 14:42:38 +0000 |
commit | b26ba17184e5dad4bd71f0d9120363c909e397a3 (patch) | |
tree | 2227d0941efa3e6f5cd7f829237ed46f3e615c26 | |
parent | c259ada6e1c46b0c7c21bd11bc1a0659da1ede9e (diff) | |
download | redmine-b26ba17184e5dad4bd71f0d9120363c909e397a3.tar.gz redmine-b26ba17184e5dad4bd71f0d9120363c909e397a3.zip |
Fixed: "Add news" link broken by recent refactoring (#6650).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4267 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/news/index.rhtml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/news/index.rhtml b/app/views/news/index.rhtml index c2a227fe0..b9cd2b24e 100644 --- a/app/views/news/index.rhtml +++ b/app/views/news/index.rhtml @@ -1,8 +1,8 @@ <div class="contextual"> -<%= link_to_if_authorized(l(:label_news_new), - new_project_news_path(@project), - :class => 'icon icon-add', - :onclick => 'Element.show("add-news"); Form.Element.focus("news_title"); return false;') if @project %> +<%= link_to(l(:label_news_new), + new_project_news_path(@project), + :class => 'icon icon-add', + :onclick => 'Element.show("add-news"); Form.Element.focus("news_title"); return false;') if @project && User.current.allowed_to?(:manage_news, @project) %> </div> <div id="add-news" style="display:none;"> |