ruby on rails - Remove 'page' option from will_paginate URL -


i'm using rails , will_paginate gem. possible remove 'page' option url other place - e.g. params (without ajax) ?

for example instead www.site.com/products?page=2, show www.site.com/products 

thanks!

no can't, since doing using http method, need pass parameters allow controller function search objects. parameters hash goes on post methods.

if want alternative solution, can @ datatables tables , pagination, done purely in javascript, need fetch results first.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -