adds base controller for management
This commit is contained in:
11
app/controllers/management/base_controller.rb
Normal file
11
app/controllers/management/base_controller.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class Management::BaseController < ActionController::Base
|
||||
layout 'admin'
|
||||
|
||||
before_action :verify_manager
|
||||
|
||||
private
|
||||
|
||||
def verify_manager
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user