Ok, thanks a lot.. I'll try that. Just to know, my problem is like 
described below:

__________________________________________________________________________________
How would I redirect a will_paginate link to a different, nested 
resource?

For example, on the entries page I am paginating entries and it works 
just fine.  On the home page, I am also paginating entries, but only the 
first 10 results.  If you click next, I would like the user to be sent 
to page 2 of the entries page.

The following does not work, as I am trying to go to 
/journals/:id/entries?page=2


Code :   - fold - unfold

   1. :params => { :controller => "journal", :action => "index" }

It instead leads to /entries/index/3?page=2.  Basically, I am trying to 
send it:

Code :   - fold - unfold

   1. :url => journal_entries_path(@journal)
__________________________________________________________________________________
-- 
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to