summaryrefslogtreecommitdiff
path: root/app/controllers/projects/packages
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-15 15:10:04 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-15 15:10:04 +0000
commit68d7192881c41305da9c6aa1e3f7dd8b47f286a7 (patch)
tree015aae6f32b30437718e76c663e8383a4a4d8a22 /app/controllers/projects/packages
parent96acc69fae1ee7d559ba7eaa4e8304c8261525e3 (diff)
downloadgitlab-ce-68d7192881c41305da9c6aa1e3f7dd8b47f286a7.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers/projects/packages')
-rw-r--r--app/controllers/projects/packages/infrastructure_registry_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/packages/infrastructure_registry_controller.rb b/app/controllers/projects/packages/infrastructure_registry_controller.rb
index f6db314b475..ee04cbb0062 100644
--- a/app/controllers/projects/packages/infrastructure_registry_controller.rb
+++ b/app/controllers/projects/packages/infrastructure_registry_controller.rb
@@ -14,7 +14,7 @@ module Projects
private
def verify_feature_enabled!
- render_404 unless Feature.enabled?(:infrastructure_registry_page)
+ render_404 unless Feature.enabled?(:infrastructure_registry_page, default_enabled: :yaml)
end
end
end