In my current project we have a problem regarding to the prefered URLS and the routing which come with it. For now I have one model Page that acts_as_tree, thus has a belongs_to and has_many relations with itself. This is of course very nice because then you can create a nice tree like this. Page 1 |- subpage 1.1 |- subsubpage 1.1.1 |- subsubpage 1.1.2 |- subpage 1.2 Of course this is a very logic way of nesting pages. Now the problem lies within the SEO url we want for these pages. With permalink_fu it is no problem for creating urls like http://localhost.com/pages/page_1 or http://localhost.com/pages/subpage_1_1. But the last one isn''t what we want.. the last one should be http://localhost.com/pages/page_1/subpage_1_1 or even http://localhost.com/pages/page_1/subpage_1_1/subsubpage_1_1_2 for the next level I can''t come up with a routing that makes this possible.. Is there a way to achieve this? and is it still possible to keep the application RESTful? Thanks in advance, Stefan --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---