Commit ee6f5002 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Improve container repository tags controller route

parent 22d68f2b
......@@ -221,14 +221,13 @@ constraints(ProjectUrlConstrainer.new) do
end
end
resources :container_registry,
controller: 'registry/repositories',
only: [:index, :destroy],
constraints: { id: Gitlab::Regex.container_registry_reference_regex }
resources :container_registry, only: [:index, :destroy],
controller: 'registry/repositories'
namespace :registry do
resources :repository, only: [] do
resources :tags, only: [:destroy]
resources :tags, only: [:destroy],
constraints: { id: Gitlab::Regex.container_registry_reference_regex }
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment