Class: Jobbr::RunsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Jobbr::RunsController
- Defined in:
- app/controllers/jobbr/runs_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
5 6 7 8 |
# File 'app/controllers/jobbr/runs_controller.rb', line 5 def show @job = Job.by_name(params[:job_id]).first @run = @job.runs.unscoped.where(id: params[:id]).first end |