Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2021-12-18 11:44:54 +01:00
23 changed files with 268 additions and 15 deletions

View File

@ -216,7 +216,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
@ -251,6 +251,7 @@ Rails.application.routes.draw do
post :memorialize
post :approve
post :reject
post :unblock_email
end
collection do