Add ability to purge undeliverable domains from admin interface (#16686)

* Add ability to purge undeliverable domains from admin interface

* Add tests
This commit is contained in:
Claire
2021-12-17 23:01:21 +01:00
committed by GitHub
parent 0c17fd9109
commit 7f803c41e2
13 changed files with 121 additions and 7 deletions

View File

@@ -214,7 +214,7 @@ Rails.application.routes.draw do
end
end
resources :instances, only: [:index, :show], constraints: { id: /[^\/]+/ } do
resources :instances, only: [:index, :show, :destroy], constraints: { id: /[^\/]+/ } do
member do
post :clear_delivery_errors
post :restart_delivery