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:
authorMayra Cabrera <mcabrera@gitlab.com>2018-03-26 17:54:29 +0300
committerMayra Cabrera <mcabrera@gitlab.com>2018-03-27 02:03:12 +0300
commitbab176008b62dddc00db25517c427cbe252bc211 (patch)
tree84d5d0a30654106a4cd90077ab156eff06e3c166 /config
parent6767dd92da08b2071af0ce6958f1620b7a99edab (diff)
Move project ci lint under '-' scope
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb8
1 files 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