about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-12-18 11:44:54 +0100
committerClaire <claire.github-309c@sitedethib.com>2021-12-18 11:44:54 +0100
commitd4f315f3044f69dfe64fbfd2348fcaa5deb2aa5e (patch)
treee3684038c30aef2dd3a0c9b5ec76de83e043663c /config/routes.rb
parent7efef7db9ed6f7b25a28166c1b75a28adbaf7cdb (diff)
parent76761d5fc0886e44a7a6eb94ab62aae8204d9e6e (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 8b1da422f..285a1cdc9 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -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