add an extra format token to the primary data string so that JRuby doesn't break

This commit is contained in:
NullVoxPopuli 2016-03-04 20:43:16 -05:00 committed by Benjamin Fleischer
parent e6ae34b84c
commit d03db81070

View File

@ -4,7 +4,7 @@ module ActiveModelSerializers
POINTERS = { POINTERS = {
attribute: '/data/attributes/%s'.freeze, attribute: '/data/attributes/%s'.freeze,
primary_data: '/data'.freeze primary_data: '/data%s'.freeze
}.freeze }.freeze
def new(pointer_type, value = nil) def new(pointer_type, value = nil)