summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-09-22 16:51:16 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-09-22 16:51:16 +0200
commitda20553ab6acb1e353319d6b2f5e2bc60bef3d4f (patch)
treef793c95e29afc69196dc2b7a4bb6c83d4059f2fd
parentdabbee65d44a3cdd7e78c48176d3f5def51da1b7 (diff)
downloadgitlab-ce-da20553ab6acb1e353319d6b2f5e2bc60bef3d4f.tar.gz
Fix CI
-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?