Class: RolesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- RolesController
- Defined in:
- app/controllers/roles_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
GET /roles GET /roles.json.
Methods inherited from ApplicationController
#check_maintenance_mode, #redirect_if_maintenance_mode
Instance Method Details
#index ⇒ Object
GET /roles GET /roles.json
8 9 10 11 |
# File 'app/controllers/roles_controller.rb', line 8 def index :read, Role @roles = Role.all end |