about summary refs log tree commit diff
path: root/app/controllers/settings/exports_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/settings/exports_controller.rb')
-rw-r--r--app/controllers/settings/exports_controller.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/settings/exports_controller.rb b/app/controllers/settings/exports_controller.rb
index 7f76668d5..3012fbf77 100644
--- a/app/controllers/settings/exports_controller.rb
+++ b/app/controllers/settings/exports_controller.rb
@@ -3,6 +3,10 @@
 class Settings::ExportsController < Settings::BaseController
   include Authorization
 
+  layout 'admin'
+
+  before_action :authenticate_user!
+
   def show
     @export  = Export.new(current_account)
     @backups = current_user.backups