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