app/views/spree/api/v1/orders/show.rabl in spree_api-1.1.6 vs app/views/spree/api/v1/orders/show.rabl in spree_api-1.2.0.rc1
- old
+ new
@@ -1,10 +1,7 @@
object @order
attributes *order_attributes
-
-if lookup_context.find_all("spree/api/v1/orders/#{@order.state}").present?
- extends "spree/api/v1/orders/#{@order.state}"
-end
+extends "spree/api/v1/orders/#{@order.state}"
child :billing_address => :bill_address do
extends "spree/api/v1/addresses/show"
end