hey folks

I have a page that used to have a url in this sort of form

   /resources/browse/property_ids[]=72&property_ids[]=722

I changed the format to be nicer - using the name of the properties and
seperating with a +

  /resources/browse/72-Violin+722-Pieces

The '+' acts as a join between two property ids effectively, so in the
controller the last part is split on +, and the above is equivalent to
the first url.

This all works fine, and gives a nicer url.  However, will_paginate is
now doing something strange - the paginate links for the page now come
out like this:

  /resources/browse/72-Violin/722-Pieces?page=3

where i'd expect them to be this, ie to just add the param to the end of
whatever the current page is:

  /resources/browse/72-Violin+722-Pieces?page=3

Before/while i dive into the guts of will_paginate to see what might be
going wrong, can anyone shed any light?

thanks
max
-- 
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to