title: Rails will_paginate custom route
body: <p>How can I use will_paginate with a custom route?</p>
  
  <p>I have the following in my routes:</p>
  
  <pre><code>map.connect 'human-readable/:name', :controller =&gt; :tags, :action =&gt; 'show'
  </code></pre>
  
  <p>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?</p>
  
  <p><strong>Edit</strong></p>
  
  <p>When I click the paging link generated by <code>will_paginate</code>, it's using:</p>
  
  <pre><code>"tags/show?name=Elektronikindustri&amp;page=1"
  </code></pre>
  
  <p>Instead of: </p>
  
  <pre><code>"/human-readable/show?name=Elektronikindustri&amp;page=1"
  </code></pre>
  
  <p>I want <code>will_paginate</code> to use my custom route instead of the actual controller name</p>