From bab176008b62dddc00db25517c427cbe252bc211 Mon Sep 17 00:00:00 2001 From: Mayra Cabrera Date: Mon, 26 Mar 2018 08:54:29 -0600 Subject: [PATCH] Move project ci lint under '-' scope --- config/routes/project.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/routes/project.rb b/config/routes/project.rb index 656ba6834f2..48ba8ef06f9 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -280,6 +280,10 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do post :keep end end + + namespace :ci do + resource :lint, only: [:show, :create] + end end draw :legacy_builds @@ -423,10 +427,6 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do resource :repository, only: [:show], controller: :repository end - namespace :ci do - resource :lint, only: [:show, :create] - end - # Since both wiki and repository routing contains wildcard characters # its preferable to keep it below all other project routes draw :wiki