views:

252

answers:

1

will_paginate plugin aways generates the pagination to the current url appending the page parameter.

Is there a way to change this? I need it to paginate to another controller/action plus some arguments.

+5  A: 
will_paginate(@collection, :params => { :controller => "articles", :action => "paginate" })
Simone Carletti