app/views/spree/api/orders/index.v1.rabl in spree_api-2.0.13 vs app/views/spree/api/orders/index.v1.rabl in spree_api-2.1.0
- old
+ new
@@ -1,7 +1,7 @@
object false
child(@orders => :orders) do
- attributes *order_attributes
+ extends "spree/api/orders/order"
end
node(:count) { @orders.count }
node(:current_page) { params[:page] || 1 }
node(:pages) { @orders.num_pages }