Add ability to reorder server rules from admin interface (#34737)
This commit is contained in:
@@ -93,7 +93,12 @@ namespace :admin do
|
||||
end
|
||||
end
|
||||
|
||||
resources :rules, only: [:index, :new, :create, :edit, :update, :destroy]
|
||||
resources :rules, only: [:index, :new, :create, :edit, :update, :destroy] do
|
||||
member do
|
||||
post :move_up
|
||||
post :move_down
|
||||
end
|
||||
end
|
||||
|
||||
resources :webhooks do
|
||||
member do
|
||||
|
||||
Reference in New Issue
Block a user