2018-08-07 21:19:24 +08:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-08-23 22:48:27 +08:00
|
|
|
require 'active_model_serializers/register_jsonapi_renderer'
|
|
|
|
|
2018-07-31 19:40:27 +08:00
|
|
|
ActiveModelSerializers.config.adapter = :json_api
|
|
|
|
ActiveModelSerializers.config.key_transform = :unaltered
|