about summary refs log tree commit diff
path: root/app/controllers/settings/exports_controller.rb
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-07-23 10:30:24 +0200
committerThibaut Girka <thib@sitedethib.com>2019-07-23 10:51:12 +0200
commit8a89a2b0f40c427fc48e449aa166f5f60d5a9575 (patch)
tree5d98c44371d54a8223a2bfb146dc65a8e14d4f62 /app/controllers/settings/exports_controller.rb
parent444796b69b0cd2c7b4b95d3b3119e0b7a503f682 (diff)
Revert some refactoring in order to make codebase closer to upstream
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