summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-27 11:16:47 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-27 11:16:47 +0000
commit885605b439dec39b23d2043c436d03b447ad919c (patch)
tree978eab45c993b38c3f684ed19aa24913e2065394 /app/controllers
parentb95fd6315c9b82eb65244b1a5b13bd1b69afe529 (diff)
downloadredmine-885605b439dec39b23d2043c436d03b447ad919c.tar.gz
redmine-885605b439dec39b23d2043c436d03b447ad919c.zip
Resourcified attachments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7948 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/attachments_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/attachments_controller.rb b/app/controllers/attachments_controller.rb
index 9e6dd4cb8..55cef02a8 100644
--- a/app/controllers/attachments_controller.rb
+++ b/app/controllers/attachments_controller.rb
@@ -53,7 +53,7 @@ class AttachmentsController < ApplicationController
end
- verify :method => :post, :only => :destroy
+ verify :method => :delete, :only => :destroy
def destroy
# Make sure association callbacks are called
@attachment.container.attachments.delete(@attachment)