debian-mirror-gitlab/app/controllers/projects/packages/packages_controller.rb
2021-11-18 22:05:49 +05:30

19 lines
412 B
Ruby

# frozen_string_literal: true
module Projects
module Packages
class PackagesController < Projects::ApplicationController
include PackagesAccess
feature_category :package_registry
before_action do
push_frontend_feature_flag(:package_list_apollo, default_enabled: :yaml)
end
def show
@package = project.packages.find(params[:id])
end
end
end
end