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 committed by GitHub
parent c27b82a437
commit 4b5851974c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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