api-pagination
api-pagination copied to clipboard
Links don't match actual params
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?