chaplinjs/chaplin — pull request #305 by Casen (2012-12-13 00:41:25+00:00)
Title: URL did not get adjusted when calling redirectTo in a beforeAction function

```coffeescript
beforeAction:
'.*': () ->
unless Chaplin.mediator.user
@redirectTo '!/sign-in'
```

I was really excited to test out the new beforeAction functionality today since my own home-grown solutions to this problem have not been ideal. I figured the redirectTo function should adjust the URL when redirecting, so I went ahead and fixed it.