Sha256: a4ad69de78386a3fef36015b3b00a1f4d7e61b85e3bf366311fcb1daff9d1f9f

Contents?: true

Size: 289 Bytes

Versions: 46

Compression:

Stored size: 289 Bytes

Contents

module Shipit
  module Api
    class OutputsController < BaseController
      require_permission :read, :stack

      def show
        render plain: task.chunk_output
      end

      private

      def task
        @task ||= stack.tasks.find(params[:task_id])
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
shipit-engine-0.7.0 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.6.4 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.6.3 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.6.2 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.6.1 app/controllers/shipit/api/outputs_controller.rb
shipit-engine-0.6.0 app/controllers/shipit/api/outputs_controller.rb