diff --git a/app/controllers/settings/deletes_controller.rb b/app/controllers/settings/deletes_controller.rb index e4cb35a8e9..4c11214711 100644 --- a/app/controllers/settings/deletes_controller.rb +++ b/app/controllers/settings/deletes_controller.rb @@ -2,7 +2,7 @@ class Settings::DeletesController < Settings::BaseController - before_action :check_enabled_deletion + prepend_before_action :check_enabled_deletion def show @confirmation = Form::DeleteConfirmation.new