diff options
author | Artem Sidorenko <artem@posteo.de> | 2016-05-03 18:33:43 +0300 |
---|---|---|
committer | Artem Sidorenko <artem@posteo.de> | 2016-05-09 12:50:23 +0300 |
commit | 14b36f91d9d803850f59fe49961d6d6a9d540aab (patch) | |
tree | e2071f037b19010438c8d758f87ac355096d4fe7 /app | |
parent | 0a103e983cccc9bb9a7a28fb4eacff8d624010f8 (diff) |
Use the proper GitLab URL for links in Wiki
Diffstat (limited to 'app')
-rw-r--r-- | app/models/project_wiki.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_wiki.rb b/app/models/project_wiki.rb index 7c1a61bb0bf..c91cb70ae25 100644 --- a/app/models/project_wiki.rb +++ b/app/models/project_wiki.rb @@ -40,7 +40,7 @@ class ProjectWiki end def wiki_base_path - ["/", @project.path_with_namespace, "/wikis"].join('') + [Gitlab.config.gitlab.url, "/", @project.path_with_namespace, "/wikis"].join('') end # Returns the Gollum::Wiki object. |