Using kaminari , i currently generate link something like below
http://localhost:3000/San-Jose_CA?page=52&pgsz=20
But how can i restructure it like below
http://localhost:3000/San-Jose_CA/pg-52?pgsz=20
Using kaminari , i currently generate link something like below
http://localhost:3000/San-Jose_CA?page=52&pgsz=20
But how can i restructure it like below
http://localhost:3000/San-Jose_CA/pg-52?pgsz=20
You can add following in your routes.rb
see https://github.com/amatsuda/kaminari#creating-friendly-urls-and-caching