Class: Admin::BrowsersController

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

Instance Method Summary collapse

Methods included from ToggleableEntity

#toggle

Methods included from LockableEntity

#lock, #unlock

Instance Method Details

#indexObject

get /admin/browsers



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

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

#showObject

get /admin/browsers/:id



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

def show
  @collection = @entity.agents.page_for_administration(current_page)
end