Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-04-05 16:19:48 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-04-05 17:30:18 +0300
commit82dea6cffe339456c5ba0fd090464926e970dccf (patch)
treec2c48fd7f2c94eab280ff2f76719df5e1ac16fd4 /config
parent1e54181523f42c2734056b6ea548ebc2134f57a6 (diff)
Fix Rubocop offenses related to registry routes
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 909a12a0204..757e1852da4 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -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