swipely/aviator — pull request #42 by hojberg (2013-12-06 13:00:26+00:00)
Title: Add Aviator.rewriteRouteTo

Add simple helper for route descriptions so you can write things like
this:

```javascript
Aviator.setRoutes({
'/foo': {
'/bar': Aviator.rewriteRouteTo('/baz')
},
'/baz': {
target: bazTarget,
'/': 'index'
}
});
```

This fixes https://github.com/swipely/aviator/issues/34

@barnabyc @flahertyb