Commit a680bbe6 by liyijie

Add total_count to index_view

parent b8de68a4
json.current_page @<%= resource_plural %>.current_page json.current_page @<%= resource_plural %>.current_page
json.total_pages @<%= resource_plural %>.total_pages json.total_pages @<%= resource_plural %>.total_pages
json.total_count @<%= resource_plural %>.count
json.<%= resource_plural %> @<%= resource_plural %>, partial: '<%= view_path %>/simple', as: :<%= resource_singular %> json.<%= resource_plural %> @<%= resource_plural %>, partial: '<%= view_path %>/simple', as: :<%= resource_singular %>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment