Hi all. I'm moving our site from eg <domain>/staging/<rest of path> to
<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
it will send them to
Is this something i can do in routes.rb? Or is it better done at the
server config level?