On Oct 4, 2013, at 6:18 AM, Akhil K. wrote:
> Hello,
>
> I have a model called book and this book will have many pages. For
> displaying the pages i have used will_paginate. It is working fine but i
> wanted to change the url. right now url is like
> "http://localhost:3000/books/book1?page=4". I have a title for
each
> pages. So instead of page number i wanted to display page_title, like
> "http://localhost:3000/books/book1/title_page1".
>
> Let me know if anybody customised will_paginate gem? Please give me
> example if you have done this.
Kaminari does this out of the box, and is a drop-in replacement for Will
Paginate. You might want to investigate that route.
Walter
>
> Thanks
> Akhil
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/343705127019247ac32a8a74630df398%40ruby-forum.com.
> For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/D78DD418-0A8B-497A-B210-A9BDBA74EF52%40wdstudio.com.
For more options, visit https://groups.google.com/groups/opt_out.