scinote-web/config/initializers/active_model_serializer.rb

5 lines
138 B
Ruby
Raw Normal View History

# frozen_string_literal: true
ActiveModelSerializers.config.adapter = :json_api
ActiveModelSerializers.config.key_transform = :unaltered