Fixed issue in OEmbedSerializer

• Fixed:
- issue in OEmbedSerializer
This commit is contained in:
mgabdev 2020-12-02 23:33:36 -05:00
parent c5cbdd7a55
commit a129b3ce3b

View File

@ -4,9 +4,7 @@ class OEmbedSerializer < ActiveModel::Serializer
include RoutingHelper
include ActionView::Helpers::TagHelper
attributes :type, :version, :title,
:provider_name, :provider_url,
:cache_age, :html, :width, :height
attributes :type, :version, :title, :provider_name, :provider_url, :cache_age, :html, :width, :height
def type
'rich'