about summary refs log tree commit diff
path: root/app/serializers
diff options
context:
space:
mode:
authorJenkins <jenkins@jenkins.ninjawedding.org>2017-12-07 04:17:14 +0000
committerJenkins <jenkins@jenkins.ninjawedding.org>2017-12-07 04:17:14 +0000
commit744447b3c04d7806e383f0d1ad7a10c73bd667ef (patch)
tree640d74c3586dfe3114b7db3fdb97e2e3d8490843 /app/serializers
parentde5620995175b7c1c0fc458bd78c12d8c5860aad (diff)
parent0c4ca3e549865623fdd35764915814acc8a595e1 (diff)
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
Diffstat (limited to 'app/serializers')
-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