1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-04 08:03:23 +00:00

Use #skip_after_action instead of #skip_after_filter.

git-svn-id: http://svn.redmine.org/redmine/trunk@16589 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2017-06-01 18:29:18 +00:00
parent da4f9ce34d
commit c6bf632945

View File

@ -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