mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-23 10:43:19 +00:00
Add an account endpoint for ActivityPub and link to it on HTML profile pages
This commit is contained in:
parent
7b7a356aed
commit
e2fbf8bc74
4 changed files with 37 additions and 0 deletions
|
|
@ -153,6 +153,12 @@ Rails.application.routes.draw do
|
|||
end
|
||||
end
|
||||
|
||||
namespace :activitypub do
|
||||
resources :accounts do
|
||||
get '/:id', to: 'accounts#show'
|
||||
end
|
||||
end
|
||||
|
||||
namespace :web do
|
||||
resource :settings, only: [:update]
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue