Class: Admin::AgentsController

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

Instance Method Summary collapse

Methods included from ToggleableEntity

#toggle

Methods included from LockableEntity

#lock, #unlock

Instance Method Details

#indexObject

get /admin/agents



9
10
11
12
# File 'app/controllers/admin/agents_controller.rb', line 9

def index
  @filter     = params[:filter] || Hash.new
  @collection = Agent.page_for_administration current_page, @filter
end

#showObject

get /admin/agents/:id



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

def show
end