Commit 31b888b0 by liyijie

Use total_pages instead of total_page

parent 4b21ef4a
json.current_page @<%= resource_plural %>.current_page json.current_page @<%= resource_plural %>.current_page
json.total_page @<%= resource_plural %>.total_pages json.total_pages @<%= resource_plural %>.total_pages
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