]> source.dussan.org Git - redmine.git/commitdiff
Fix the new subproject link on project overview. #6388
authorEric Davis <edavis@littlestreamsoftware.com>
Fri, 17 Sep 2010 04:22:46 +0000 (04:22 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Fri, 17 Sep 2010 04:22:46 +0000 (04:22 +0000)
Contributed by Felix Schäfer.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4095 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/projects/show.rhtml

index 0ad9a11daf6e51ae506c5945d697667e33ebb039..cf3814b77626f9d98d1848a3cd585f452ca9f04c 100644 (file)
@@ -1,6 +1,6 @@
 <div class="contextual">
        <% if User.current.allowed_to?(:add_subprojects, @project) %>
-               <%= link_to l(:label_subproject_new), {:controller => 'projects', :action => 'add', :parent_id => @project}, :class => 'icon icon-add' %>
+               <%= link_to l(:label_subproject_new), {:controller => 'projects', :action => 'new', :parent_id => @project}, :class => 'icon icon-add' %>
        <% end %>
 </div>