diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-26 14:55:24 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-26 14:55:24 +0000 |
commit | 0293ba7e9f4f82788363ef699327887005db7b3e (patch) | |
tree | c88a11778ed1b9cb2db5798103f196a99d7ddaeb /app/views/versions | |
parent | bb8e2beeac3663848f81a1badc77dfd2b12ff68a (diff) | |
download | redmine-0293ba7e9f4f82788363ef699327887005db7b3e.tar.gz redmine-0293ba7e9f4f82788363ef699327887005db7b3e.zip |
Version routes cleanup in views.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7937 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/versions')
-rw-r--r-- | app/views/versions/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb index edca6092b..622da4cfb 100644 --- a/app/views/versions/index.html.erb +++ b/app/views/versions/index.html.erb @@ -1,5 +1,5 @@ <div class="contextual"> - <%= link_to l(:label_version_new), {:controller => 'versions', :action => 'new'}, :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %> + <%= link_to l(:label_version_new), new_project_version_path(@project), :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %> </div> <h2><%=l(:label_roadmap)%></h2> |