Class: Admin::CandidatesController

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

Overview

Administrative part of candidates management

Instance Method Summary collapse

Instance Method Details

#indexObject

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

#showObject

get /admin/candidates/:id



15
16
# File 'app/controllers/admin/candidates_controller.rb', line 15

def show
end