about summary refs log tree commit diff
path: root/app/controllers/settings/deletes_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/settings/deletes_controller.rb')
-rw-r--r--app/controllers/settings/deletes_controller.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/controllers/settings/deletes_controller.rb b/app/controllers/settings/deletes_controller.rb
index dd19aadf6..4c1121471 100644
--- a/app/controllers/settings/deletes_controller.rb
+++ b/app/controllers/settings/deletes_controller.rb
@@ -1,10 +1,8 @@
 # frozen_string_literal: true
 
 class Settings::DeletesController < Settings::BaseController
-  layout 'admin'
 
-  before_action :check_enabled_deletion
-  before_action :authenticate_user!
+  prepend_before_action :check_enabled_deletion
 
   def show
     @confirmation = Form::DeleteConfirmation.new