mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 23:21:30 +08:00
6 lines
200 B
Ruby
6 lines
200 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'active_model_serializers/register_jsonapi_renderer'
|
|
|
|
ActiveModelSerializers.config.adapter = :json_api
|
|
ActiveModelSerializers.config.key_transform = :unaltered
|