Class: Passkit::Dashboard::LogsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/passkit/dashboard/logs_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



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