mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
add an extra format token to the primary data string so that JRuby doesn't break
This commit is contained in:
parent
e6ae34b84c
commit
d03db81070
@ -4,7 +4,7 @@ module ActiveModelSerializers
|
||||
|
||||
POINTERS = {
|
||||
attribute: '/data/attributes/%s'.freeze,
|
||||
primary_data: '/data'.freeze
|
||||
primary_data: '/data%s'.freeze
|
||||
}.freeze
|
||||
|
||||
def new(pointer_type, value = nil)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user