about summary refs log tree commit diff
path: root/app/serializers/rest
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2017-12-06 22:34:42 -0600
committerDavid Yip <yipdw@member.fsf.org>2017-12-06 22:34:42 -0600
commitddb61deccefeda2346e64002528764841bcb7315 (patch)
tree0ee86119b8260661d85e5e41a1342c30802f620b /app/serializers/rest
parent935c1944e27be4df9ba821a0f38fd599d1877a31 (diff)
parent744447b3c04d7806e383f0d1ad7a10c73bd667ef (diff)
Merge remote-tracking branch 'personal/merge/tootsuite/master' into gs-master
Diffstat (limited to 'app/serializers/rest')
-rw-r--r--app/serializers/rest/preview_card_serializer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/rest/preview_card_serializer.rb b/app/serializers/rest/preview_card_serializer.rb
index 9c460332c..2df9d07a7 100644
--- a/app/serializers/rest/preview_card_serializer.rb
+++ b/app/serializers/rest/preview_card_serializer.rb
@@ -6,7 +6,7 @@ class REST::PreviewCardSerializer < ActiveModel::Serializer
   attributes :url, :title, :description, :type,
              :author_name, :author_url, :provider_name,
              :provider_url, :html, :width, :height,
-             :image
+             :image, :embed_url
 
   def image
     object.image? ? full_asset_url(object.image.url(:original)) : nil