This commit is contained in:
groyoh
2015-05-17 22:47:44 +02:00
parent 46ae776175
commit a794a06fa5
4 changed files with 28 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ module ActiveModel
:serializer,
ActiveModel::Serializer.serializer_for(object)
)
serializer_class.new(object, options)
serializer_class.new(object, options.except(:serializer))
end
@meta = options[:meta]
@meta_key = options[:meta_key]