Add an account endpoint for ActivityPub and link to it on HTML profile pages
This commit is contained in:
@ -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