diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-07-19 11:30:57 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-07-19 11:30:57 +0300 |
commit | 9f36012e026845e87c39d5f142abbaa44bde8f2b (patch) | |
tree | 41a6911277510ca880dd7491f2a91524046435f1 /config/routes | |
parent | 9e5c8e5d7f81b88998c8def2f4a20d54eeee49d0 (diff) |
Fix docker tag reference routing constraints
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/project.rb | 2 |
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 |