Clean up activitypub module route scope near collections/boxes (#29580)

This commit is contained in:
Matt Jankowski 2024-03-14 05:18:41 -04:00 committed by GitHub
parent 18ffd4d925
commit 65e8349980
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -126,11 +126,13 @@ Rails.application.routes.draw do
resources :followers, only: [:index], controller: :follower_accounts
resources :following, only: [:index], controller: :following_accounts
resource :outbox, only: [:show], module: :activitypub
resource :inbox, only: [:create], module: :activitypub
resource :claim, only: [:create], module: :activitypub
resources :collections, only: [:show], module: :activitypub
resource :followers_synchronization, only: [:show], module: :activitypub
scope module: :activitypub do
resource :outbox, only: [:show]
resource :inbox, only: [:create]
resource :claim, only: [:create]
resources :collections, only: [:show]
resource :followers_synchronization, only: [:show]
end
end
resource :inbox, only: [:create], module: :activitypub