From e2fbf8bc7479967baa84ef26eb03e19f0fd868e8 Mon Sep 17 00:00:00 2001 From: Evan Minto Date: Sat, 4 Feb 2017 14:46:23 -0800 Subject: Add an account endpoint for ActivityPub and link to it on HTML profile pages --- config/routes.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config') 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 -- cgit