BigW Consortium Gitlab

Commit 82dea6cf by Grzegorz Bizon

Fix Rubocop offenses related to registry routes

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