debian-mirror-gitlab/app/controllers/projects/packages/packages_controller.rb
2021-01-03 14:25:43 +05:30

17 lines
404 B
Ruby

# frozen_string_literal: true
module Projects
module Packages
class PackagesController < Projects::ApplicationController
include PackagesAccess
feature_category :package_registry
def show
@package = project.packages.find(params[:id])
@package_files = @package.package_files.recent
@maven_metadatum = @package.maven_metadatum
end
end
end
end