summaryrefslogtreecommitdiff
path: root/app/helpers/triggers_helper.rb
blob: 2a3a7e80fca1117da4d16020c4454447b85d41d4 (plain)
1
2
3
4
5
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