debian-mirror-gitlab/app/helpers/routing/packages_helper.rb
2023-01-13 15:02:22 +05:30

9 lines
197 B
Ruby

# frozen_string_literal: true
module Routing
module PackagesHelper
def package_path(package, **options)
Gitlab::UrlBuilder.build(package, only_path: true, **options)
end
end
end