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
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2017-07-20 14:50:21 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2017-07-20 14:50:21 +0300
commit542b675cf60bb8208306d2c0cae138f4ccc47972 (patch)
treefaa8dd2773bf6ce13c0cdb4b262f3b1b7172a7bb /config/routes
parent4766a77b1d44bb6989e6c86a7a7dd10f6983ba4e (diff)
parentfe359ec760b104e6b1d5d1a5f87e8e954b18f8d9 (diff)
Merge branch 'fix/gb/fix-container-registry-tag-routing' into 'master'
Fix docker tag reference routing constraints Closes #35220 and gitlab-com/support-forum#2246 See merge request !12961
Diffstat (limited to 'config/routes')
-rw-r--r--config/routes/project.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 62cab25c763..672b5a9a160 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -272,7 +272,7 @@ constraints(ProjectUrlConstrainer.new) do
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_tag_regex }
end
end