diff options
Diffstat (limited to 'config/routes/repository_scoped.rb')
-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 |