diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-06-01 18:29:18 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-06-01 18:29:18 +0000 |
commit | c6bf632945ddd42502f2cddce77105b062c6f296 (patch) | |
tree | 71531d248680be566581337d0ca185ff0ffc1eb5 /app/controllers/attachments_controller.rb | |
parent | da4f9ce34d6365e36a63720d3370514277039834 (diff) | |
download | redmine-c6bf632945ddd42502f2cddce77105b062c6f296.tar.gz redmine-c6bf632945ddd42502f2cddce77105b062c6f296.zip |
Use #skip_after_action instead of #skip_after_filter.
git-svn-id: http://svn.redmine.org/redmine/trunk@16589 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/attachments_controller.rb')
-rw-r--r-- | app/controllers/attachments_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/attachments_controller.rb b/app/controllers/attachments_controller.rb index 441243542..1c79ff4b3 100644 --- a/app/controllers/attachments_controller.rb +++ b/app/controllers/attachments_controller.rb @@ -25,7 +25,7 @@ class AttachmentsController < ApplicationController # Disable check for same origin requests for JS files, i.e. attachments with # MIME type text/javascript. - skip_after_filter :verify_same_origin_request, :only => :download + skip_after_action :verify_same_origin_request, :only => :download accept_api_auth :show, :download, :thumbnail, :upload, :update, :destroy |