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
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-05-26 16:55:29 +0300
committerLin Jen-Shin <godfat@godfat.org>2017-05-26 18:06:20 +0300
commitc94db0c2906c5da49acc9addb976b64fd7c7b256 (patch)
tree9db7628da93c0036625a48d985a1778a92a9766e /config/routes
parent70eb0c6a88ccb4a1d8fe6cc42fa4aa72b7584ffe (diff)
Use - as the prefix so we don't conflict with namespaces
The decision was made around: https://gitlab.com/gitlab-org/gitlab-ce/issues/26407#note_30624641
Diffstat (limited to 'config/routes')
-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 eb138dcee5a..6f45661c2e3 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -181,7 +181,7 @@ constraints(ProjectUrlConstrainer.new) do
end
end
- resources :jobs, only: [:index, :show], constraints: { id: /\d+/ } do
+ resources :jobs, path: '-/jobs', only: [:index, :show], constraints: { id: /\d+/ } do
collection do
post :cancel_all