maccman/spine — pull request #221 by gr2m (2012-03-01 21:22:26+00:00)
Title: Added support for redirects in controller.activate

follow up for #196

The change allows e.g. for security checks in & redirects the `activate` method of controllers. Just make sure to return `false`.

```coffeescript
class Base extends Spine.Controller

activate: (@params) ->

if @current_user.is_logged_in()
return super
else
@navigate "/sign_in"
return false
```