Fix client-side collection routes (#38850)

This commit is contained in:
David Roetzel 2026-04-29 16:52:32 +02:00 committed by GitHub
parent b761310823
commit 725d8983fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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