Authorize access to admin panel, etc.
Adds a separate admin namespace and base controller, with authorization by looking up the admin property in the user's LDAP account.
This commit is contained in:
4
app/controllers/admin/dashboard_controller.rb
Normal file
4
app/controllers/admin/dashboard_controller.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
class Admin::DashboardController < Admin::BaseController
|
||||
def index
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user