Devise - Configuring the Routes fine for Controller Inheritance

Hi!

Here's what I added to my config/routes.rb:

    devise_for :users, :controllers => {:invitations =>
"invitations", :sessions => "sessions"}

This doesn't work, if I try to sign in I get a template missing error.

How do you configure this for controller inheritance for invitations
and sessions? And make the routes in the controller like
"sign_in_and_redirect(resource_name, resource)" still work?

Thanks