app/views/spree/api/stock_items/index.v1.rabl in solidus_api-1.3.2 vs app/views/spree/api/stock_items/index.v1.rabl in solidus_api-1.4.0.beta1

- old
+ new

@@ -1,7 +1,7 @@ object false child(@stock_items => :stock_items) do extends 'spree/api/stock_items/show' end node(:count) { @stock_items.count } -node(:current_page) { params[:page] || 1 } +node(:current_page) { @stock_items.current_page } node(:pages) { @stock_items.total_pages }