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/wikis_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/wikis_controller.rb')
-rw-r--r-- | app/controllers/wikis_controller.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/wikis_controller.rb b/app/controllers/wikis_controller.rb index fd52a09b1..edca739c6 100644 --- a/app/controllers/wikis_controller.rb +++ b/app/controllers/wikis_controller.rb @@ -21,8 +21,6 @@ class WikisController < ApplicationController menu_item :settings before_action :find_project, :authorize - require_sudo_mode :destroy, only: :post - # Delete a project's wiki def destroy if request.post? && params[:confirm] && @project.wiki |