debian-mirror-gitlab/app/helpers/ci/triggers_helper.rb
2015-09-25 12:07:36 +05:30

7 lines
195 B
Ruby

module Ci
module TriggersHelper
def ci_build_trigger_url(project_id, ref_name)
"#{Settings.gitlab_ci.url}/ci/api/v1/projects/#{project_id}/refs/#{ref_name}/trigger"
end
end
end