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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-06-11 18:08:36 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-06-11 18:08:36 +0300
commit018431c70e62358b959d23e7881bf1513e68f165 (patch)
tree052ba4863efbcab40f41e8d4a09f5add9103c62b /app/helpers/gitlab_routing_helper.rb
parent0526dc1e681db465189573d0931610c049206106 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/gitlab_routing_helper.rb')
-rw-r--r--app/helpers/gitlab_routing_helper.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/helpers/gitlab_routing_helper.rb b/app/helpers/gitlab_routing_helper.rb
index 9e8d9c70602..52238f89887 100644
--- a/app/helpers/gitlab_routing_helper.rb
+++ b/app/helpers/gitlab_routing_helper.rb
@@ -305,8 +305,12 @@ module GitlabRoutingHelper
# Wikis
+ def wiki_path(wiki, **options)
+ Gitlab::UrlBuilder.wiki_url(wiki, only_path: true, **options)
+ end
+
def wiki_page_path(wiki, page, **options)
- Gitlab::UrlBuilder.wiki_page_url(wiki, page, **options, only_path: true)
+ Gitlab::UrlBuilder.wiki_page_url(wiki, page, only_path: true, **options)
end
private