Sha256: 4c9ae70801b50bd406f001e884c68a8c717024ebeb1fc430cab14dde532ce5f4
Contents?: true
Size: 465 Bytes
Versions: 1
Compression:
Stored size: 465 Bytes
Contents
module Naf class LogViewerController < Naf::ApplicationController def index if params['record_type'] == 'job' @job = ::Naf::HistoricalJob.find_by_id(params['record_id'].to_i) @status = ::Logical::Naf::Job.new(@job).status @partial = 'job_logs' elsif params['record_type'] == 'runner' @runner = ::Naf::MachineRunner.find_by_id(params['record_id'].to_i) @partial = 'runner_logs' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
naf-2.1.10 | app/controllers/naf/log_viewer_controller.rb |