app/views/spree/api/zones/index.v1.rabl in solidus_api-1.3.0.beta1 vs app/views/spree/api/zones/index.v1.rabl in solidus_api-1.3.0.rc1
- old
+ new
@@ -2,6 +2,6 @@
child(@zones => :zones) do
extends 'spree/api/zones/show'
end
node(:count) { @zones.count }
node(:current_page) { params[:page] || 1 }
-node(:pages) { @zones.num_pages }
+node(:pages) { @zones.total_pages }