diff options
author | Go MAEDA <maeda@farend.jp> | 2020-03-14 03:49:44 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2020-03-14 03:49:44 +0000 |
commit | af36d450e4ff36ae296e6a02f0888df7591f6658 (patch) | |
tree | 2fa3aad40fc8e70db4f8e5107c7234769b784b2d /app/controllers/messages_controller.rb | |
parent | 1e929c43286c9b49bcf320498335018054a8ae41 (diff) | |
download | redmine-af36d450e4ff36ae296e6a02f0888df7591f6658.tar.gz redmine-af36d450e4ff36ae296e6a02f0888df7591f6658.zip |
Reverts r19569 (#33071).
404 error after deleting an attachment.
git-svn-id: http://svn.redmine.org/redmine/trunk@19579 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/messages_controller.rb')
-rw-r--r-- | app/controllers/messages_controller.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/messages_controller.rb b/app/controllers/messages_controller.rb index e36c05a95..69af02066 100644 --- a/app/controllers/messages_controller.rb +++ b/app/controllers/messages_controller.rb @@ -25,8 +25,6 @@ class MessagesController < ApplicationController before_action :find_message, :except => [:new, :preview] before_action :authorize, :except => [:preview, :edit, :destroy] - require_sudo_mode :destroy - helper :boards helper :watchers helper :attachments |