Add ability to reorder server rules from admin interface (#34737)

This commit is contained in:
Claire 2025-05-20 14:49:11 +02:00 committed by GitHub
parent 8ed0408adb
commit d7cb6068b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 97 additions and 2 deletions

View file

@ -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