Commit 82dea6cf authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix Rubocop offenses related to registry routes

parent 1e541815
...@@ -222,12 +222,12 @@ constraints(ProjectUrlConstrainer.new) do ...@@ -222,12 +222,12 @@ constraints(ProjectUrlConstrainer.new) do
end end
resources :container_registry, only: [:index, :destroy], resources :container_registry, only: [:index, :destroy],
controller: 'registry/repositories' controller: 'registry/repositories'
namespace :registry do namespace :registry do
resources :repository, only: [] do resources :repository, only: [] do
resources :tags, only: [:destroy], resources :tags, only: [:destroy],
constraints: { id: Gitlab::Regex.container_registry_reference_regex } constraints: { id: Gitlab::Regex.container_registry_reference_regex }
end end
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