app/views/spree/api/states/index.v1.rabl in solidus_api-1.3.0.beta1 vs app/views/spree/api/states/index.v1.rabl in solidus_api-1.3.0.rc1

- old
+ new

@@ -5,10 +5,10 @@ child(@states => :states) do attributes *state_attributes end -if @states.respond_to?(:num_pages) +if @states.respond_to?(:total_pages) node(:count) { @states.count } node(:current_page) { params[:page] || 1 } - node(:pages) { @states.num_pages } + node(:pages) { @states.total_pages } end