debian-mirror-gitlab/app/helpers/routing/packages_helper.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
197 B
Ruby
Raw Normal View History

2023-01-13 00:05:48 +05:30
# frozen_string_literal: true
module Routing
module PackagesHelper
def package_path(package, **options)
Gitlab::UrlBuilder.build(package, only_path: true, **options)
end
end
end