Class: Admin::CandidatesController
- Inherits:
-
AdminController
- Object
- AdminController
- Admin::CandidatesController
- Includes:
- ToggleableEntity
- Defined in:
- app/controllers/admin/candidates_controller.rb
Overview
Administrative part of candidates management
Instance Method Summary collapse
-
#index ⇒ Object
get /admin/candidates.
-
#show ⇒ Object
get /admin/candidates/:id.
Instance Method Details
#index ⇒ Object
get /admin/candidates
10 11 12 |
# File 'app/controllers/admin/candidates_controller.rb', line 10 def index @collection = Candidate.list_for_administration.page(current_page) end |
#show ⇒ Object
get /admin/candidates/:id
15 16 |
# File 'app/controllers/admin/candidates_controller.rb', line 15 def show end |