summaryrefslogtreecommitdiffstats
path: root/app/views/admin
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-09-09 18:57:21 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-09-09 18:57:21 +0000
commit8d52608dbad63d504ec4b48ffe5ea09cfbe95bd9 (patch)
tree3137b6dfbc50341e9e7945aa8b234a656ce1201d /app/views/admin
parentbf7476af5b6b2ec70e20254c8f2fe346ca22c089 (diff)
downloadredmine-8d52608dbad63d504ec4b48ffe5ea09cfbe95bd9.tar.gz
redmine-8d52608dbad63d504ec4b48ffe5ea09cfbe95bd9.zip
Refactor: convert the Projects routes to resources.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4071 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/projects.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/projects.rhtml b/app/views/admin/projects.rhtml
index b37fec57b..6cf933d11 100644
--- a/app/views/admin/projects.rhtml
+++ b/app/views/admin/projects.rhtml
@@ -35,7 +35,7 @@
<%= link_to(l(:button_archive), { :controller => 'projects', :action => 'archive', :id => project, :status => params[:status] }, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-lock') if project.active? %>
<%= link_to(l(:button_unarchive), { :controller => 'projects', :action => 'unarchive', :id => project, :status => params[:status] }, :method => :post, :class => 'icon icon-unlock') if !project.active? && (project.parent.nil? || project.parent.active?) %>
<%= link_to(l(:button_copy), { :controller => 'projects', :action => 'copy', :id => project }, :class => 'icon icon-copy') %>
- <%= link_to(l(:button_delete), { :controller => 'projects', :action => 'destroy', :id => project }, :class => 'icon icon-del') %>
+ <%= link_to(l(:button_delete), project_destroy_confirm_path(project), :class => 'icon icon-del') %>
</td>
</tr>
<% end %>