Commit 74fb3951 authored by Mayra Cabrera's avatar Mayra Cabrera

Move project ci lint under '-' scope

parent de7675d4
...@@ -318,6 +318,10 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do ...@@ -318,6 +318,10 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
post :keep post :keep
end end
end end
namespace :ci do
resource :lint, only: [:show, :create]
end
end end
draw :legacy_builds draw :legacy_builds
...@@ -481,10 +485,6 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do ...@@ -481,10 +485,6 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
resource :repository, only: [:show], controller: :repository resource :repository, only: [:show], controller: :repository
end end
namespace :ci do
resource :lint, only: [:show, :create]
end
# Since both wiki and repository routing contains wildcard characters # Since both wiki and repository routing contains wildcard characters
# its preferable to keep it below all other project routes # its preferable to keep it below all other project routes
draw :wiki draw :wiki
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment