summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-04-01 16:51:20 +0000
committerRobert Speicher <robert@gitlab.com>2016-04-01 16:51:20 +0000
commit5627542fd4f2d24f7f5b13cc6143d2b75aaac0e1 (patch)
tree50f2d4c0d6e806b0baca9d5aad1afa36e277837d /app/services
parentc8038dc2439aa52331c08793c5ee609ed53e94e4 (diff)
parent84b0ab77667b85a42db8a5a02d9758657af66f16 (diff)
downloadgitlab-ce-5627542fd4f2d24f7f5b13cc6143d2b75aaac0e1.tar.gz
Merge branch 'routing' into 'master'
Added & use Gitlab::Routing for URL helpers Extracted from !3389 See merge request !3486
Diffstat (limited to 'app/services')
-rw-r--r--app/services/system_note_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/system_note_service.rb b/app/services/system_note_service.rb
index e022a046c48..658b086496f 100644
--- a/app/services/system_note_service.rb
+++ b/app/services/system_note_service.rb
@@ -224,7 +224,7 @@ class SystemNoteService
#
# "Started branch `issue-branch-button-201`"
def self.new_issue_branch(issue, project, author, branch)
- h = Gitlab::Application.routes.url_helpers
+ h = Gitlab::Routing.url_helpers
link = h.namespace_project_compare_url(project.namespace, project, from: project.default_branch, to: branch)
body = "Started branch [`#{branch}`](#{link})"