Add an account endpoint for ActivityPub and link to it on HTML profile pages

This commit is contained in:
Evan Minto
2017-02-04 14:46:23 -08:00
parent 7b7a356aed
commit e2fbf8bc74
4 changed files with 37 additions and 0 deletions

View File

@ -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