summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKamil TrzciƄski <ayufan@ayufan.eu>2017-07-20 11:50:21 +0000
committerMike Greiling <mike@pixelcog.com>2017-07-20 17:06:15 -0500
commit2cc61e5d1e78db2fee68a53d3eda38733d2c1ece (patch)
treea406b183b15910990bdd9b2f1091503b93c619d1 /config
parent1f8b700658520ff68990d9f7d0160a8b0b80112f (diff)
downloadgitlab-ce-2cc61e5d1e78db2fee68a53d3eda38733d2c1ece.tar.gz
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')
-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