0
0
Fork 0

Merge pull request #603 from evanminto/activitypub-account

Expose ActivityStreams 2.0 representation of accounts
This commit is contained in:
Eugen 2017-02-07 02:08:40 +01:00 committed by GitHub
commit 9d5fb49cd8
7 changed files with 30 additions and 2 deletions

View file

@ -18,6 +18,8 @@ class AccountsController < ApplicationController
format.atom do
@entries = @account.stream_entries.order('id desc').where(hidden: false).with_includes.paginate_by_max_id(20, params[:max_id], params[:since_id])
end
format.activitystreams2
end
end