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