Class: Admin::PollsController

Inherits:
AdminController
  • Object
show all
Includes:
ToggleableEntity
Defined in:
app/controllers/admin/polls_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject

get /admin/polls



7
8
9
# File 'app/controllers/admin/polls_controller.rb', line 7

def index
  @collection = Poll.page_for_administration(current_page)
end

#showObject

get /admin/polls/:id



12
13
# File 'app/controllers/admin/polls_controller.rb', line 12

def show
end