Merge remote-tracking branch 'tootsuite/master'

This commit is contained in:
David Yip committed 2017-11-19 01:30:29 -06:00
commit d083f7741a
38 files changed
+852 -42

No files matched your search

@@ -7,6 +7,10 @@ class REST::AccountSerializer < ActiveModel::Serializer
:note, :url, :avatar, :avatar_static, :header, :header_static,
:followers_count, :following_count, :statuses_count
has_one :moved_to_account, key: :moved, serializer: REST::AccountSerializer, if: :moved?
delegate :moved?, to: :object
def id
object.id.to_s
end