Class: Admin::PrivilegesController
- Inherits:
-
AdminController
- Object
- AdminController
- Admin::PrivilegesController
- Includes:
- EntityPriority, ToggleableEntity
- Defined in:
- app/controllers/admin/privileges_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
get /admin/privileges.
-
#show ⇒ Object
get /admin/privileges/:id.
-
#users ⇒ Object
get /admin/privileges/:id/users.
Methods included from ToggleableEntity
Methods included from EntityPriority
Instance Method Details
#index ⇒ Object
get /admin/privileges
8 9 10 |
# File 'app/controllers/admin/privileges_controller.rb', line 8 def index @collection = Privilege.for_tree end |
#show ⇒ Object
get /admin/privileges/:id
13 14 |
# File 'app/controllers/admin/privileges_controller.rb', line 13 def show end |
#users ⇒ Object
get /admin/privileges/:id/users
17 18 19 |
# File 'app/controllers/admin/privileges_controller.rb', line 17 def users @collection = @entity.users.page_for_administration(current_page) end |