diff options
Diffstat (limited to 'app/helpers/triggers_helper.rb')
-rw-r--r-- | app/helpers/triggers_helper.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/helpers/triggers_helper.rb b/app/helpers/triggers_helper.rb new file mode 100644 index 00000000000..2a3a7e80fca --- /dev/null +++ b/app/helpers/triggers_helper.rb @@ -0,0 +1,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 |