From 2b174c0d780b6cb1806e95d6b5eeb21cd26e5073 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 b6e945c4c3..4573878ede 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