diff options
author | Artem Sidorenko <artem@posteo.de> | 2016-05-03 18:33:43 +0300 |
---|---|---|
committer | Artem Sidorenko <artem@posteo.de> | 2016-05-13 23:42:07 +0300 |
commit | e5c97101478829fe8200557afd02bde92c3eb4e4 (patch) | |
tree | da0fbf9b2c2020e0b39336663557b3645ea50926 /lib/gitlab | |
parent | 5e130c3e39febcd577e61ebd30bd231827d41f2c (diff) |
Use the relative url prefix for links in Wiki
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/url_builder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/url_builder.rb b/lib/gitlab/url_builder.rb index 2bbbd3074e8..fe65c246101 100644 --- a/lib/gitlab/url_builder.rb +++ b/lib/gitlab/url_builder.rb @@ -62,7 +62,7 @@ module Gitlab end def wiki_page_url - "#{Gitlab.config.gitlab.url}#{object.wiki.wiki_base_path}/#{object.slug}" + namespace_project_wiki_url(object.wiki.project.namespace, object.wiki.project, object.slug) end end end |