Class: Passkit::Dashboard::PassesController

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

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
# File 'app/controllers/passkit/dashboard/passes_controller.rb', line 4

def index
  @passes = Passkit::Pass.order(created_at: :desc).includes(:devices).first(100)
end