app/views/spree/api/variants/big.v1.rabl in spree_api-2.2.2 vs app/views/spree/api/variants/big.v1.rabl in spree_api-2.2.3
- old
+ new
@@ -1,8 +1,8 @@
object @variant
attributes *variant_attributes
-cache ['big_variant', root_object]
+cache [I18n.locale, 'big_variant', root_object]
extends "spree/api/variants/small"
child(:stock_items => :stock_items) do
attributes :id, :count_on_hand, :stock_location_id, :backorderable