Fix moderation interface for remote instances with a .zip TLD (#25885)

This commit is contained in:
Claire 2023-07-10 18:42:10 +02:00
parent 7709bbba65
commit 6398fc0b66

View file

@ -226,7 +226,7 @@ Rails.application.routes.draw do
end
end
resources :instances, only: [:index, :show, :destroy], constraints: { id: /[^\/]+/ } do
resources :instances, only: [:index, :show, :destroy], constraints: { id: /[^\/]+/ }, format: 'html' do
member do
post :clear_delivery_errors
post :restart_delivery