debian-mirror-gitlab/app/helpers/routing/wiki_helper.rb
2021-09-30 23:02:18 +05:30

13 lines
321 B
Ruby

# frozen_string_literal: true
module Routing
module WikiHelper
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, only_path: true, **options)
end
end
end