app/views/spree/api/v1/users/index.v1.rabl in spree_api-3.1.0.rc3 vs app/views/spree/api/v1/users/index.v1.rabl in spree_api-3.1.0.rc4
- old
+ new
@@ -2,6 +2,6 @@
child(@users => :users) do
extends "spree/api/v1/users/show"
end
node(:count) { @users.count }
node(:current_page) { params[:page] || 1 }
-node(:pages) { @users.num_pages }
+node(:pages) { @users.total_pages }