Add an account endpoint for ActivityPub and link to it on HTML profile pages
This commit is contained in:
1 parent
7b7a356aed
commit
e2fbf8bc74
4 files changed
+37
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user