diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-05-26 16:55:29 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-05-26 18:06:20 +0300 |
commit | c94db0c2906c5da49acc9addb976b64fd7c7b256 (patch) | |
tree | 9db7628da93c0036625a48d985a1778a92a9766e /config | |
parent | 70eb0c6a88ccb4a1d8fe6cc42fa4aa72b7584ffe (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')
-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 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 |