Class: Admin::VotesController

Inherits:
AdminController
  • Object
show all
Defined in:
app/controllers/admin/votes_controller.rb

Overview

Administrative part of vote handling

Instance Method Summary collapse

Instance Method Details

#indexObject

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