Sha256: ee5b8e7600f5dfd30f93685a54ae7f197a07984711ab0f582418c0d7cc00988c
Contents?: true
Size: 259 Bytes
Versions: 1
Compression:
Stored size: 259 Bytes
Contents
module RailsLiveDashboard class JobsController < ApplicationController def index @jobs = Job.order(created_at: :desc) end def show @job = Job.find(params[:id]) @queries = Query.where(batch_id: @job.batch_id) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_live_dashboard-0.2.0 | app/controllers/rails_live_dashboard/jobs_controller.rb |