Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-09-22 17:51:16 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2015-09-22 17:51:16 +0300
commitda20553ab6acb1e353319d6b2f5e2bc60bef3d4f (patch)
treef793c95e29afc69196dc2b7a4bb6c83d4059f2fd /app/models
parentdabbee65d44a3cdd7e78c48176d3f5def51da1b7 (diff)
Fix CI
Diffstat (limited to 'app/models')
-rw-r--r--app/models/project_services/gitlab_ci_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/project_services/gitlab_ci_service.rb b/app/models/project_services/gitlab_ci_service.rb
index 388a49e791d..64c1d5cbf60 100644
--- a/app/models/project_services/gitlab_ci_service.rb
+++ b/app/models/project_services/gitlab_ci_service.rb
@@ -19,6 +19,8 @@
#
class GitlabCiService < CiService
+ include Gitlab::Application.routes.url_helpers
+
prop_accessor :token
after_save :compose_service_hook, if: :activated?