summaryrefslogtreecommitdiff
path: root/app/controllers/groups/registry/repositories_controller.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-31 18:07:42 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-31 18:07:42 +0000
commit580622bdb3c762a8e89facd8a3946881ee480442 (patch)
tree3ac9d759da23f78f95f50684bd238a9f76839538 /app/controllers/groups/registry/repositories_controller.rb
parentb211a4ea14d5e9ed9b0c248a4e8c5c1d85b542cb (diff)
downloadgitlab-ce-580622bdb3c762a8e89facd8a3946881ee480442.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers/groups/registry/repositories_controller.rb')
-rw-r--r--app/controllers/groups/registry/repositories_controller.rb13
1 files changed, 2 insertions, 11 deletions
diff --git a/app/controllers/groups/registry/repositories_controller.rb b/app/controllers/groups/registry/repositories_controller.rb
index ac4ca197d72..0240c87e699 100644
--- a/app/controllers/groups/registry/repositories_controller.rb
+++ b/app/controllers/groups/registry/repositories_controller.rb
@@ -4,7 +4,6 @@ module Groups
class RepositoriesController < Groups::ApplicationController
before_action :verify_container_registry_enabled!
before_action :authorize_read_container_image!
- before_action :feature_flag_group_container_registry_browser!
def index
respond_to do |format|
@@ -17,12 +16,8 @@ module Groups
serializer = ContainerRepositoriesSerializer
.new(current_user: current_user)
- if Feature.enabled?(:vue_container_registry_explorer, group)
- render json: serializer.with_pagination(request, response)
- .represent_read_only(@images)
- else
- render json: serializer.represent_read_only(@images)
- end
+ render json: serializer.with_pagination(request, response)
+ .represent_read_only(@images)
end
end
end
@@ -34,10 +29,6 @@ module Groups
private
- def feature_flag_group_container_registry_browser!
- render_404 unless Feature.enabled?(:group_container_registry_browser, group)
- end
-
def verify_container_registry_enabled!
render_404 unless Gitlab.config.registry.enabled
end