summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMayra Cabrera <mcabrera@gitlab.com>2018-03-26 08:54:29 -0600
committerMayra Cabrera <mcabrera@gitlab.com>2018-03-26 17:03:12 -0600
commitbab176008b62dddc00db25517c427cbe252bc211 (patch)
tree84d5d0a30654106a4cd90077ab156eff06e3c166
parent6767dd92da08b2071af0ce6958f1620b7a99edab (diff)
downloadgitlab-ce-43603-ci-lint-support.tar.gz
Move project ci lint under '-' scope43603-ci-lint-support
-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