diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-10 09:32:41 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-10 09:32:41 +0000 |
commit | 467503fd4b5ad2b9d03b0161f0b4d313f129d500 (patch) | |
tree | f9c600e5fbee5c91d0217d5a60d64488ef6996b4 /app/views/admin/projects.html.erb | |
parent | 7dc8cf93401e4f02d993c9aa58e0146b15a84bb9 (diff) | |
download | redmine-467503fd4b5ad2b9d03b0161f0b4d313f129d500.tar.gz redmine-467503fd4b5ad2b9d03b0161f0b4d313f129d500.zip |
Changed ProjectsController#destroy to DELETE only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8152 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/admin/projects.html.erb')
-rw-r--r-- | app/views/admin/projects.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/projects.html.erb b/app/views/admin/projects.html.erb index 154f82b4b..33d1d8818 100644 --- a/app/views/admin/projects.html.erb +++ b/app/views/admin/projects.html.erb @@ -34,7 +34,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), project_destroy_confirm_path(project), :class => 'icon icon-del') %> + <%= link_to(l(:button_delete), project_path(project), :method => :delete, :class => 'icon icon-del') %> </td> </tr> <% end %> |