Move project ci lint under '-' scope
This commit is contained in:
parent
6767dd92da
commit
bab176008b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue