Hi all. I'm moving our site from eg <domain>/staging/<rest of path> to simply be <domain>/<rest_of_path>. I want to catch all the people who have bookmarked the "staging/" urls (or have them in their browser history) and redirect them to the equivalent url without "staging/". Eg if someone goes to
<domain>/staging/foos/123/edit it will send them to <domain>/foos/123/edit Is this something i can do in routes.rb? Or is it better done at the server config level? 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 [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.

