Sha256: 5606f6c1217cf82459ee952ca34948517072e2e13996dc9ee98acf2fae6710a6
Contents?: true
Size: 386 Bytes
Versions: 11
Compression:
Stored size: 386 Bytes
Contents
class SiblingsController < ApplicationController def index @siblings = Sibling.all end def deploy @sibling = Sibling.find(params[:id]) if @sibling.deploy redirect_to siblings_deploys_path, notice: "Deploy has been queued." else redirect_to siblings_deploys_path, alert: "Something went wrong. Deploy has not been queued." end end end
Version data entries
11 entries across 11 versions & 1 rubygems