Sha256: f7fb44f3f7eb52d9c0b0da3168cbade19326db41dbc1f21d5740a959eda94211

Contents?: true

Size: 390 Bytes

Versions: 9

Compression:

Stored size: 390 Bytes

Contents

class Kuroko2::LogsController < Kuroko2::ApplicationController
  def index
    @definition = Kuroko2::JobDefinition.find(logs_params[:job_definition_id])
    @instance   = Kuroko2::JobInstance.find(logs_params[:job_instance_id])
    @logs       = @instance.logs

    render layout: false
  end

  private

  def logs_params
    params.permit(:job_definition_id, :job_instance_id)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kuroko2-0.3.4 app/controllers/kuroko2/logs_controller.rb
kuroko2-0.3.3 app/controllers/kuroko2/logs_controller.rb
kuroko2-0.3.2 app/controllers/kuroko2/logs_controller.rb
kuroko2-0.3.1 app/controllers/kuroko2/logs_controller.rb
kuroko2-0.3.0 app/controllers/kuroko2/logs_controller.rb
kuroko2-0.2.3 app/controllers/kuroko2/logs_controller.rb
kuroko2-0.2.2 app/controllers/kuroko2/logs_controller.rb
kuroko2-0.2.1 app/controllers/kuroko2/logs_controller.rb
kuroko2-0.2.0 app/controllers/kuroko2/logs_controller.rb