Sha256: 61a6e5f7bbe3f9abc7d6e124f863f68dcbdc0c848f4e4ce1ee3ee7856fb0e216

Contents?: true

Size: 225 Bytes

Versions: 18

Compression:

Stored size: 225 Bytes

Contents

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

      def index
        render_resources stack.commits.reachable.includes(:statuses)
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
shipit-engine-0.26.0 app/controllers/shipit/api/commits_controller.rb
shipit-engine-0.25.1 app/controllers/shipit/api/commits_controller.rb
shipit-engine-0.25.0 app/controllers/shipit/api/commits_controller.rb
shipit-engine-0.24.0 app/controllers/shipit/api/commits_controller.rb
shipit-engine-0.23.1 app/controllers/shipit/api/commits_controller.rb
shipit-engine-0.23.0 app/controllers/shipit/api/commits_controller.rb
shipit-engine-0.22.0 app/controllers/shipit/api/commits_controller.rb
shipit-engine-0.21.0 app/controllers/shipit/api/commits_controller.rb
shipit-engine-0.20.1 app/controllers/shipit/api/commits_controller.rb
shipit-engine-0.20.0 app/controllers/shipit/api/commits_controller.rb
shipit-engine-0.19.0 app/controllers/shipit/api/commits_controller.rb
shipit-engine-0.18.1 app/controllers/shipit/api/commits_controller.rb
shipit-engine-0.18.0 app/controllers/shipit/api/commits_controller.rb
shipit-engine-0.17.0 app/controllers/shipit/api/commits_controller.rb
shipit-engine-0.16.0 app/controllers/shipit/api/commits_controller.rb
shipit-engine-0.15.0 app/controllers/shipit/api/commits_controller.rb
shipit-engine-0.14.0 app/controllers/shipit/api/commits_controller.rb
shipit-engine-0.13.0 app/controllers/shipit/api/commits_controller.rb