Sha256: 46ccd6734f0a663fb8ecbabea67d3f41c29d7098358a3bf19ff94a4470672e4a
Contents?: true
Size: 362 Bytes
Versions: 7
Compression:
Stored size: 362 Bytes
Contents
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
7 entries across 7 versions & 1 rubygems