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:
Then you can use those in your layouts like so:
This site uses Akismet to reduce spam. Learn how your comment data is processed.