Sha256: 869ea3fac644c4ebc9ce794eea49bf19cdd951164d70794094ee7e3050ea449c
Contents?: true
Size: 332 Bytes
Versions: 16
Compression:
Stored size: 332 Bytes
Contents
module Shipit class CommitsController < ShipitController def update commit.update(params.require(:commit).permit(:locked)) head :ok end private def commit @commit ||= stack.commits.find(params[:id]) end def stack @stack ||= Stack.from_param!(params[:stack_id]) end end end
Version data entries
16 entries across 16 versions & 1 rubygems