Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Octavian Vaideanu's Profile

GitHub User: oktav

Comments by Octavian Vaideanu

Avatar

Hi Ryan,

Just checking this cool gem. One question though... In case of a CanCan::AccessDenied, how can I redirect to the previous page instead of root?

I tried:

https://gist.github.com/794752

That doesn't work.

Thanks

Avatar

Hi Ryan,

I'm a bit off topic here, but where can I get the Textmate snippets you continuously use?

Thanks