Fix build triggers URL and slack notifications

This commit is contained in:
Kamil Trzcinski 2015-09-14 14:01:17 +02:00
parent d0019456cd
commit 81560ab259
2 changed files with 3 additions and 3 deletions

View file

@ -13,11 +13,11 @@ module Ci
end
def url_helpers
@url_helpers ||= Ci::Base.new
@url_helpers ||= Base.new
end
def self.method_missing(method, *args, &block)
@url_helpers ||= Ci::Base.new
@url_helpers ||= Base.new
if @url_helpers.respond_to?(method)
@url_helpers.send(method, *args, &block)

View file

@ -1,6 +1,6 @@
module Ci
module TriggersHelper
def build_trigger_url(project_id, ref_name)
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