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 13:17:37 +0100
committerGitHub <noreply@github.com>2021-12-18 13:17:37 +0100
commit3b9a6049adf3ee6844a81622c297dd893836f79d (patch)
treefaf39c54064077baa984998a589803ecb7ecf230 /config/routes.rb
parentfec4ed507466617ef34304b7d00d0383e8a958bb (diff)
parente061ea5f71109edbbf7869265f443448cace4f60 (diff)
Merge pull request #1650 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
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