mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-23 18:52:41 +00:00
Rework FEP-7888 implementation (#36064)
This commit is contained in:
parent
377e870348
commit
e1dc960219
9 changed files with 61 additions and 25 deletions
|
|
@ -120,7 +120,7 @@ Rails.application.routes.draw do
|
|||
end
|
||||
|
||||
resource :inbox, only: [:create], module: :activitypub
|
||||
resources :contexts, only: [:show], module: :activitypub do
|
||||
resources :contexts, only: [:show], module: :activitypub, constraints: { id: /[0-9]+-[0-9]+/ } do
|
||||
member do
|
||||
get :items
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue