mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-22 18:23:18 +00:00
Implement FEP 7888: Part 1 - publish conversation context (#35959)
This commit is contained in:
parent
9463a31107
commit
65b4a0a6f1
15 changed files with 309 additions and 12 deletions
|
|
@ -120,6 +120,11 @@ Rails.application.routes.draw do
|
|||
end
|
||||
|
||||
resource :inbox, only: [:create], module: :activitypub
|
||||
resources :contexts, only: [:show], module: :activitypub do
|
||||
member do
|
||||
get :items
|
||||
end
|
||||
end
|
||||
|
||||
constraints(encoded_path: /%40.*/) do
|
||||
get '/:encoded_path', to: redirect { |params|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue