Rails will_paginate custom route

Posted by kristian nissen on Stack Overflow See other posts from Stack Overflow or by kristian nissen
Published on 2010-03-14T08:47:36Z Indexed on 2010/03/14 8:55 UTC
Read the original article Hit count: 215

Filed under:
|

How can I use will_paginate with a custom route?

I have the following in my routes:

map.connect 'human-readable/:name', :controller => :tags, :action => 'show'

but will_paginate uses url_for as far as I can tell, but I want to use 'human-readable' instead of url_for, but how?

© Stack Overflow or respective owner

Related posts about rails

Related posts about will-paginate