From 0293ba7e9f4f82788363ef699327887005db7b3e 2011-11-26 14:55:24 From: Jean-Philippe Lang Date: 2011-11-26 14:55:24 Subject: [PATCH] Version routes cleanup in views. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7937 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb index edca609..622da4c 100644 --- a/app/views/versions/index.html.erb +++ b/app/views/versions/index.html.erb @@ -1,5 +1,5 @@
- <%= 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) %>

<%=l(:label_roadmap)%>