Skip to content

allow nil for page number parameter #287

New issue

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

Merged
merged 1 commit into from
May 26, 2018

Conversation

senid231
Copy link
Member

@senid231 senid231 commented May 26, 2018

Consider Model.page(nil)
It is very happy if we can write Model.page(params[:page]) like Kaminari.

  • code changes
  • readme update

rebased version of #189

@senid231 senid231 self-assigned this May 26, 2018
@senid231 senid231 force-pushed the github-mtsmfm-page-nil branch 2 times, most recently from 4bc58b1 to b9b367e Compare May 26, 2018 13:03
It is very happy if we can write `Model.page(params[:page])` like Kaminari.
@senid231 senid231 merged commit dcead09 into JsonApiClient:master May 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants