Sha256: 942156b631b4901bf8c076981eee76862d47024f899473129a8af64cc5b203b6
Contents?: true
Size: 393 Bytes
Versions: 10
Compression:
Stored size: 393 Bytes
Contents
# frozen_string_literal: true module Shipit module Api class CommitsController < BaseController require_permission :read, :stack def index commits = stack.commits.reachable.includes(:statuses) if params[:undeployed] commits = commits.newer_than(stack.last_deployed_commit) end render_resources(commits) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems