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 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'
|
||||
|
|
Loading…
Reference in New Issue