Module: Routing::WikiHelper

Included in:
GitlabRoutingHelper
Defined in:
app/helpers/routing/wiki_helper.rb

Instance Method Summary collapse

Instance Method Details

#wiki_page_path(wiki, page, **options) ⇒ Object


9
10
11
# File 'app/helpers/routing/wiki_helper.rb', line 9

def wiki_page_path(wiki, page, **options)
  Gitlab::UrlBuilder.wiki_page_url(wiki, page, only_path: true, **options)
end

#wiki_path(wiki, **options) ⇒ Object


5
6
7
# File 'app/helpers/routing/wiki_helper.rb', line 5

def wiki_path(wiki, **options)
  Gitlab::UrlBuilder.wiki_url(wiki, only_path: true, **options)
end