Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorArtem Sidorenko <artem@posteo.de>2016-05-03 18:33:43 +0300
committerArtem Sidorenko <artem@posteo.de>2016-05-09 12:50:23 +0300
commit14b36f91d9d803850f59fe49961d6d6a9d540aab (patch)
treee2071f037b19010438c8d758f87ac355096d4fe7 /app
parent0a103e983cccc9bb9a7a28fb4eacff8d624010f8 (diff)
Use the proper GitLab URL for links in Wiki
Diffstat (limited to 'app')
-rw-r--r--app/models/project_wiki.rb2
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.