summaryrefslogtreecommitdiff
path: root/lib/gitlab/url_builder.rb
diff options
context:
space:
mode:
authorArtem Sidorenko <artem@posteo.de>2016-05-03 17:33:43 +0200
committerArtem Sidorenko <artem@posteo.de>2016-05-09 11:50:23 +0200
commit14b36f91d9d803850f59fe49961d6d6a9d540aab (patch)
treee2071f037b19010438c8d758f87ac355096d4fe7 /lib/gitlab/url_builder.rb
parent0a103e983cccc9bb9a7a28fb4eacff8d624010f8 (diff)
downloadgitlab-ce-14b36f91d9d803850f59fe49961d6d6a9d540aab.tar.gz
Use the proper GitLab URL for links in Wiki
Diffstat (limited to 'lib/gitlab/url_builder.rb')
-rw-r--r--lib/gitlab/url_builder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/url_builder.rb b/lib/gitlab/url_builder.rb
index 2bbbd3074e8..67a09d5abf5 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}"
+ "#{object.wiki.wiki_base_path}/#{object.slug}"
end
end
end