From c94db0c2906c5da49acc9addb976b64fd7c7b256 Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Fri, 26 May 2017 21:55:29 +0800 Subject: 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 --- config/routes/project.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/routes') 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 -- cgit v1.2.1