debian-mirror-gitlab/app/helpers/triggers_helper.rb
2015-10-24 18:46:33 +05:30

5 lines
171 B
Ruby

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