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 97fe4d328..20dcc2dbd 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
   before_action :require_not_suspended!
 
   skip_before_action :require_functional!