diff options
author | Artem Sidorenko <artem@posteo.de> | 2016-05-03 17:33:43 +0200 |
---|---|---|
committer | Artem Sidorenko <artem@posteo.de> | 2016-05-13 22:42:07 +0200 |
commit | e5c97101478829fe8200557afd02bde92c3eb4e4 (patch) | |
tree | da0fbf9b2c2020e0b39336663557b3645ea50926 /app/models/project_wiki.rb | |
parent | 5e130c3e39febcd577e61ebd30bd231827d41f2c (diff) | |
download | gitlab-ce-e5c97101478829fe8200557afd02bde92c3eb4e4.tar.gz |
Use the relative url prefix for links in Wiki
Diffstat (limited to 'app/models/project_wiki.rb')
-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 060ed9b44ec..339fb0b9f9d 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.relative_url_root, "/", @project.path_with_namespace, "/wikis"].join('') end # Returns the Gollum::Wiki object. |