We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The override of render that decorates the resource with total_pages and total_count kicks out unless the controller action name is index.
total_pages
total_count
return super unless action_name == 'index' && request.headers[:Accept] == 'application/vnd.api+json'
Pagination is otherwise supported on any controller action name.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The override of render that decorates the resource with
total_pages
andtotal_count
kicks out unless the controller action name is index.Pagination is otherwise supported on any controller action name.
The text was updated successfully, but these errors were encountered: