Class: Postburner::JobsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Postburner::JobsController
- Defined in:
- app/controllers/postburner/jobs_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 |
# File 'app/controllers/postburner/jobs_controller.rb', line 5 def index @jobs = Job.order(queued_at: :desc, created_at: :desc) end |
#show ⇒ Object
9 10 11 |
# File 'app/controllers/postburner/jobs_controller.rb', line 9 def show @job = Job.find(params[:id]) end |