map.static ':permalink', :controller => 'pages', :action => 'show'

or

map.connect "*path", :controller => "four_oh_fours"

First on is not great and you need to handle 404s in that
controller... the second is well an example from a 404 controller BUT
it shows the *path example... if you do /bla1/bla2/bla3 that's what
you get in the params...

Parameters: {"action"=>"index", "controller"=>"four_oh_fours",
"path"=>["bla1", "bla2", "bla3"]}

--~--~---------~--~----~------------~-------~--~----~
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