2020-10-24 23:57:45 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Projects
|
|
|
|
module Packages
|
|
|
|
class PackagesController < Projects::ApplicationController
|
|
|
|
include PackagesAccess
|
|
|
|
|
2021-01-03 14:25:43 +05:30
|
|
|
feature_category :package_registry
|
2020-10-24 23:57:45 +05:30
|
|
|
|
2021-11-18 22:05:49 +05:30
|
|
|
before_action do
|
|
|
|
push_frontend_feature_flag(:package_list_apollo, default_enabled: :yaml)
|
|
|
|
end
|
|
|
|
|
2020-10-24 23:57:45 +05:30
|
|
|
def show
|
|
|
|
@package = project.packages.find(params[:id])
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|