How can I use will_paginate with a custom route?
I have the following in my routes:
map.connect \'human-readable/:name\', :controller => :tags, :a
Another option is to use param in will_paginate but passing in the parameter like so:
<%= will_paginate @products, :params => {:controller => 'human-readable', :action => 'show', :name => 'xyz'} %>
and now your links will look like human-readable/xyz?page=2...