mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Merge pull request #909 from joaomdmoura/json-api-default
Defining Json-API Adapter as Default
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user