about summary refs log tree commit diff
path: root/app/controllers/admin/base_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/admin/base_controller.rb')
-rw-r--r--app/controllers/admin/base_controller.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/admin/base_controller.rb b/app/controllers/admin/base_controller.rb
index 11fe326bc..db4839a8f 100644
--- a/app/controllers/admin/base_controller.rb
+++ b/app/controllers/admin/base_controller.rb
@@ -2,7 +2,9 @@
 
 module Admin
   class BaseController < ApplicationController
-    before_action :require_admin!
+    include Authorization
+
+    before_action :require_staff!
 
     layout 'admin'
   end