Allow to dereference Follow object for ActivityPub (#5772)
* Allow to dereference Follow object for ActivityPub * Accept IRI as object representation for Accept activity
This commit is contained in:
parent
53d99ebf4f
commit
161c72d66d
10 changed files with 134 additions and 31 deletions
|
@ -54,7 +54,8 @@ Rails.application.routes.draw do
|
|||
|
||||
resources :followers, only: [:index], controller: :follower_accounts
|
||||
resources :following, only: [:index], controller: :following_accounts
|
||||
resource :follow, only: [:create], controller: :account_follow
|
||||
resources :follows, only: [:show], module: :activitypub
|
||||
resource :follow, only: [:create], controller: :account_follow, as: :follows
|
||||
resource :unfollow, only: [:create], controller: :account_unfollow
|
||||
resource :outbox, only: [:show], module: :activitypub
|
||||
resource :inbox, only: [:create], module: :activitypub
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue