Class: Passkit::Dashboard::LogsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Passkit::Dashboard::LogsController
- Defined in:
- app/controllers/passkit/dashboard/logs_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
4 5 6 |
# File 'app/controllers/passkit/dashboard/logs_controller.rb', line 4 def index @logs = Passkit::Log.order(created_at: :desc).first(100) end |