From 4b5851974c0faabff3b1c7a36e177a168b69b8dd Mon Sep 17 00:00:00 2001 From: Claire Date: Mon, 10 Jul 2023 18:42:10 +0200 Subject: [PATCH] Fix moderation interface for remote instances with a .zip TLD (#25885) --- config/routes/admin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes/admin.rb b/config/routes/admin.rb index b6e945c4c..4573878ed 100644 --- a/config/routes/admin.rb +++ b/config/routes/admin.rb @@ -67,7 +67,7 @@ namespace :admin do end end - resources :instances, only: [:index, :show, :destroy], constraints: { id: %r{[^/]+} } do + resources :instances, only: [:index, :show, :destroy], constraints: { id: %r{[^/]+} }, format: 'html' do member do post :clear_delivery_errors post :restart_delivery