Clean up activitypub
module route scope near collections/boxes (#29580)
This commit is contained in:
parent
18ffd4d925
commit
65e8349980
1 changed files with 7 additions and 5 deletions
|
@ -126,11 +126,13 @@ Rails.application.routes.draw do
|
||||||
resources :followers, only: [:index], controller: :follower_accounts
|
resources :followers, only: [:index], controller: :follower_accounts
|
||||||
resources :following, only: [:index], controller: :following_accounts
|
resources :following, only: [:index], controller: :following_accounts
|
||||||
|
|
||||||
resource :outbox, only: [:show], module: :activitypub
|
scope module: :activitypub do
|
||||||
resource :inbox, only: [:create], module: :activitypub
|
resource :outbox, only: [:show]
|
||||||
resource :claim, only: [:create], module: :activitypub
|
resource :inbox, only: [:create]
|
||||||
resources :collections, only: [:show], module: :activitypub
|
resource :claim, only: [:create]
|
||||||
resource :followers_synchronization, only: [:show], module: :activitypub
|
resources :collections, only: [:show]
|
||||||
|
resource :followers_synchronization, only: [:show]
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
resource :inbox, only: [:create], module: :activitypub
|
resource :inbox, only: [:create], module: :activitypub
|
||||||
|
|
Loading…
Reference in a new issue