diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-11 18:08:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-11 18:08:36 +0300 |
commit | 018431c70e62358b959d23e7881bf1513e68f165 (patch) | |
tree | 052ba4863efbcab40f41e8d4a09f5add9103c62b /app/helpers/gitlab_routing_helper.rb | |
parent | 0526dc1e681db465189573d0931610c049206106 (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.rb | 6 |
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 |