api-pagination icon indicating copy to clipboard operation
api-pagination copied to clipboard

Links don't match actual params

Open amcaplan opened this issue 7 years ago • 0 comments

This gem allows the use of custom page size and number params. However, https://github.com/davidcelis/api-pagination/blob/edfec8316cb900d310420b5f62cd907c27932a02/lib/rails/pagination.rb#L37 seems to indicate that regardless of the params set, it assumes that the page number param is just called :page. Shouldn't that be keyed off the configuration instead?

amcaplan avatar Mar 06 '17 17:03 amcaplan