Fixed issue in OEmbedSerializer
• Fixed: - issue in OEmbedSerializer
This commit is contained in:
parent
c5cbdd7a55
commit
a129b3ce3b
|
@ -4,9 +4,7 @@ class OEmbedSerializer < ActiveModel::Serializer
|
||||||
include RoutingHelper
|
include RoutingHelper
|
||||||
include ActionView::Helpers::TagHelper
|
include ActionView::Helpers::TagHelper
|
||||||
|
|
||||||
attributes :type, :version, :title,
|
attributes :type, :version, :title, :provider_name, :provider_url, :cache_age, :html, :width, :height
|
||||||
:provider_name, :provider_url,
|
|
||||||
:cache_age, :html, :width, :height
|
|
||||||
|
|
||||||
def type
|
def type
|
||||||
'rich'
|
'rich'
|
||||||
|
|
Loading…
Reference in New Issue