Class: Ditty::AuditLogsController
- Inherits:
-
ComponentController
- Object
- Sinatra::Base
- ApplicationController
- ComponentController
- Ditty::AuditLogsController
- Defined in:
- lib/ditty/controllers/audit_logs_controller.rb
Constant Summary collapse
- SEARCHABLE =
%i[details platform device browser ip_address].freeze
- FILTERS =
[ { name: :user, field: 'user.email' }, { name: :action } ].freeze
Instance Method Summary collapse
Methods inherited from ComponentController
#read, #read!, #skip_verify!, #trigger
Methods inherited from ApplicationController
Instance Method Details
#list ⇒ Object
27 28 29 |
# File 'lib/ditty/controllers/audit_logs_controller.rb', line 27 def list super.order(:created_at).reverse end |