Moves ProjectsController#add_version to VersionsController#new.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3548 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2010-03-06 18:25:01 +00:00
1 parent 2af97616f7
commit 729bea1cf3
9 files changed
+74 -77

No files matched your search

+2 -2
View File
@@ -23,9 +23,9 @@
<%= prompt_to_remote(image_tag('add.png', :style => 'vertical-align: middle;'),
l(:label_version_new),
'version[name]',
{:controller => 'projects', :action => 'add_version', :id => @project},
{:controller => 'versions', :action => 'new', :project_id => @project},
:title => l(:label_version_new),
:tabindex => 200) if authorize_for('projects', 'add_version') %>
:tabindex => 200) if authorize_for('versions', 'new') %>
</p>
<% end %>
</div>