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
path: root/config
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-04-29 21:09:56 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-29 21:09:56 +0300
commit6f2dc439265369de7b1e1b18b208c6d66cf260eb (patch)
treec961526575126eafdd022ae7b496830dcf252002 /config
parent647de7e6fd971d435396cc8730a2d162240e3d7c (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config')
-rw-r--r--config/routes/repository_scoped.rb4
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