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
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2019-01-09 18:05:52 +0300
committerYorick Peterse <yorickpeterse@gmail.com>2019-01-31 18:51:53 +0300
commit740f07b1ec16e225a29e4b910e64775dd3985e88 (patch)
tree16a76320a74fd3e7dfb4ea9b8ee228a90e0ce637 /app/views/projects/blob
parentf27cba0feef5d664c97082a0fe1b2e4b3d62f839 (diff)
Fixed bug when external wiki is enabled
When the external wiki is enabled, the internal wiki link is replaced by the external wiki url. But the internal wiki is still accessible. In this change the external wiki will have its own tab in the sidebar and only if the services are disabled the tab (and access rights) will not be displayed.
Diffstat (limited to 'app/views/projects/blob')
-rw-r--r--app/views/projects/blob/viewers/_readme.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/viewers/_readme.html.haml b/app/views/projects/blob/viewers/_readme.html.haml
index d8492abc638..c2329a7aa66 100644
--- a/app/views/projects/blob/viewers/_readme.html.haml
+++ b/app/views/projects/blob/viewers/_readme.html.haml
@@ -1,4 +1,4 @@
= icon('info-circle fw')
= succeed '.' do
To learn more about this project, read
- = link_to "the wiki", get_project_wiki_path(viewer.project)
+ = link_to "the wiki", project_wiki_path(viewer.project, :home)