Class: Admin::VotesController
- Inherits:
-
AdminController
- Object
- AdminController
- Admin::VotesController
- Defined in:
- app/controllers/admin/votes_controller.rb
Overview
Administrative part of vote handling
Instance Method Summary collapse
-
#index ⇒ Object
get /admin/votes.
Instance Method Details
#index ⇒ Object
get /admin/votes
6 7 8 |
# File 'app/controllers/admin/votes_controller.rb', line 6 def index @collection = Vote.list_for_administration.page(current_page) end |