mirror of
https://github.com/redmine/redmine.git
synced 2025-11-04 20:35:57 +01:00
Reverts r19569 (#33071).
404 error after deleting an attachment. git-svn-id: http://svn.redmine.org/redmine/trunk@19579 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -25,8 +25,6 @@ class AttachmentsController < ApplicationController
|
||||
before_action :delete_authorize, :only => :destroy
|
||||
before_action :authorize_global, :only => :upload
|
||||
|
||||
require_sudo_mode :destroy
|
||||
|
||||
# Disable check for same origin requests for JS files, i.e. attachments with
|
||||
# MIME type text/javascript.
|
||||
skip_after_action :verify_same_origin_request, :only => :download
|
||||
|
||||
Reference in New Issue
Block a user