summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-07-10 18:42:10 +0200
committerClaire <claire.github-309c@sitedethib.com>2023-07-21 16:07:43 +0200
commitefd066670d67676d5f5e73a75c268a2bd09c59c7 (patch)
treefa1f3f64564e9a8bbe6d7b536e8bdfa168c912e3
parent13ec425b721c959415921046d7a24ed8c9994cee (diff)
Fix moderation interface for remote instances with a .zip TLD (#25885)
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 7958c6db8a6..49508dc39c5 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -292,7 +292,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