diff options
Diffstat (limited to 'app/controllers/settings/exports_controller.rb')
-rw-r--r-- | app/controllers/settings/exports_controller.rb | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/app/controllers/settings/exports_controller.rb b/app/controllers/settings/exports_controller.rb index 3a2334ef0..cf8745576 100644 --- a/app/controllers/settings/exports_controller.rb +++ b/app/controllers/settings/exports_controller.rb @@ -1,13 +1,8 @@ # frozen_string_literal: true -class Settings::ExportsController < ApplicationController +class Settings::ExportsController < Settings::BaseController include Authorization - layout 'admin' - - before_action :authenticate_user! - before_action :set_body_classes - def show @export = Export.new(current_account) @backups = current_user.backups @@ -21,10 +16,4 @@ class Settings::ExportsController < ApplicationController redirect_to settings_export_path end - - private - - def set_body_classes - @body_classes = 'admin' - end end |