Class: Masks::Manage::DevicesController
- Inherits:
-
BaseController
- Object
- ActionController::Base
- ApplicationController
- BaseController
- Masks::Manage::DevicesController
- Defined in:
- app/controllers/masks/manage/devices_controller.rb
Instance Attribute Summary
Attributes inherited from BaseController
Instance Method Summary collapse
Methods inherited from BaseController
Methods included from Controller
#current_access, #current_actor, #current_mask, #masked_session
Instance Method Details
#index ⇒ Object
13 14 15 16 |
# File 'app/controllers/masks/manage/devices_controller.rb', line 13 def index @pagy, @devices = pagy(Masks.configuration.model(:device).all.order(created_at: :desc)) end |