diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-03 14:00:00 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-03 14:00:09 +0100 |
commit | f905fd239c79f391ce5a7cc2c5c6648b3d6380e4 (patch) | |
tree | 68a1f074611ef664d3873eb19bc249b071ce1ef2 /lib/gitlab/markdown | |
parent | 928d131e3974018581d561a7eb11d6524d2e79a2 (diff) | |
download | gitlab-ce-f905fd239c79f391ce5a7cc2c5c6648b3d6380e4.tar.gz |
Use URL helpers in specs
Diffstat (limited to 'lib/gitlab/markdown')
-rw-r--r-- | lib/gitlab/markdown/label_reference_filter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/markdown/label_reference_filter.rb b/lib/gitlab/markdown/label_reference_filter.rb index a23aa0adeec..ec2b179b7de 100644 --- a/lib/gitlab/markdown/label_reference_filter.rb +++ b/lib/gitlab/markdown/label_reference_filter.rb @@ -65,8 +65,8 @@ module Gitlab def url_for_label(project, label) h = Gitlab::Application.routes.url_helpers - h.namespace_project_issues_path(project.namespace, project, - label_name: label.name) + h.namespace_project_issues_url( project.namespace, project, label_name: label.name, + only_path: context[:only_path]) end def render_colored_label(label) |