fknop / hapi-pagination

Hapi plugin to handle "custom" pagination
MIT License
63 stars 36 forks source link

Custom results name per route #73

Closed mr-paulkim closed 5 years ago

mr-paulkim commented 5 years ago

Hi, is there a way to have custom results name per route? For example, on one route, I would like the results to be named "members" and on another "reports". If not, could this be added as a feature request?

mr-paulkim commented 5 years ago

It appears you can do this in the options for the h.paginate helper. Closing issue.