diff options
author | Evan Minto <evan.minto@gmail.com> | 2017-02-04 14:46:23 -0800 |
---|---|---|
committer | Evan Minto <evan.minto@gmail.com> | 2017-02-04 14:46:23 -0800 |
commit | e2fbf8bc7479967baa84ef26eb03e19f0fd868e8 (patch) | |
tree | 6fd2a38dbd5dc8dbfb056bba872c89b3d1546f38 /config | |
parent | 7b7a356aed20c57d10bd7edfc3c3f5ba3d3a9d8c (diff) |
Add an account endpoint for ActivityPub and link to it on HTML profile pages
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 699f56833..f831c4239 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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 |