adding json_api as default adapter

This commit is contained in:
João Moura
2015-05-10 03:58:18 -03:00
parent ece43f344a
commit 2c9c36e21f
2 changed files with 4 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ module ActiveModel
included do |base|
base.config.array_serializer = ActiveModel::Serializer::ArraySerializer
base.config.adapter = :json
base.config.adapter = :json_api
end
end
end