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 /app | |
parent | 5e130c3e39febcd577e61ebd30bd231827d41f2c (diff) |
Use the relative url prefix 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 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. |