app/views/educode_sales/roles/index.json.jbuilder in educode_sales-0.1.4 vs app/views/educode_sales/roles/index.json.jbuilder in educode_sales-0.1.5
- old
+ new
@@ -5,6 +5,6 @@
json.permissions d.permissions.select("distinct clazz").map{|d| d.clazz}.join("、")
end
end
json.code 0
-json.count @roles.size
+json.count @roles.total_count
\ No newline at end of file