From 725d8983fa3d41b86445348329b3ced317df885c Mon Sep 17 00:00:00 2001 From: David Roetzel Date: Wed, 29 Apr 2026 16:52:32 +0200 Subject: [PATCH] Fix client-side collection routes (#38850) --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index c3a73f12f4..772ca28f1c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -141,7 +141,7 @@ Rails.application.routes.draw do end end - resources :collections, only: [:show] + resources :collections, only: [:show], constraints: { id: /\d+/ } resource :inbox, only: [:create], module: :activitypub resources :contexts, only: [:show], module: :activitypub, constraints: { id: /[0-9]+-[0-9]+/ } do