diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-29 21:09:56 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-29 21:09:56 +0300 |
commit | 6f2dc439265369de7b1e1b18b208c6d66cf260eb (patch) | |
tree | c961526575126eafdd022ae7b496830dcf252002 /config/routes | |
parent | 647de7e6fd971d435396cc8730a2d162240e3d7c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/repository_scoped.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes/repository_scoped.rb b/config/routes/repository_scoped.rb index 42ec8ca1806..865a5bdb5a9 100644 --- a/config/routes/repository_scoped.rb +++ b/config/routes/repository_scoped.rb @@ -31,9 +31,9 @@ scope format: false do resources :protected_branches, only: [:index, :show, :create, :update, :destroy, :patch], constraints: { id: Gitlab::PathRegex.git_reference_regex } resources :protected_tags, only: [:index, :show, :create, :update, :destroy] - scope constraints: { id: /[^\0]+/ } do + scope constraints: { id: /[^\0]+?/ } do scope controller: :static_site_editor do - get '/sse/*id', action: :show, as: :show_sse + get '/sse/:id(/*vueroute)', action: :show, as: :show_sse end end end |