lib/jsonapionify/api/relationship/one.rb in jsonapionify-0.9.2 vs lib/jsonapionify/api/relationship/one.rb in jsonapionify-0.9.3

- old
+ new

@@ -28,11 +28,9 @@ callbacks: callbacks, cacheable: false, prepend: 'relationships' } define_action(:replace, 'PATCH', **options, &block).response status: 200 do |context| - context.owner_context.reset(:instance) - context.reset(:instance) context.response_object[:data] = build_resource_identifier(context.instance) context.response_object.to_json end end