Skip to content

Conversation

@brateq
Copy link
Contributor

@brateq brateq commented Jan 2, 2020

There is no need to add _paginator in pagination config- paginator_klass do this already:

def paginator_klass
"#{JSONAPI.configuration.default_paginator}_paginator".classify.constantize
end

There is no need to add _paginator in pagination config- paginator_klass do this already:

def paginator_klass
  "#{JSONAPI.configuration.default_paginator}_paginator".classify.constantize
end
@tiagopog
Copy link
Owner

Good catch @brateq, thanks.

@tiagopog tiagopog merged commit 6d30f23 into tiagopog:master Apr 13, 2020
@tiagopog tiagopog added the doc label Apr 13, 2020
@tiagopog tiagopog self-requested a review April 13, 2020 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants