Named redirect routes in Rails 3

I didn’t see this mentioned anywhere in the Rails Guide or in my admittedly cursory Google searches, but apparently it’s possible to create named redirect routes in Rails 3. For example:

[gist id=1024213 file=routes.rb]

Then you can use those in your layouts like so:

[gist id=1024213 file=application.html.erb]