On Wed, Nov 14, 2012 at 9:48 AM, roelof <[email protected]> wrote:

> Hello,
>
> Because I want to change something on login I copied the standard sessions
> controller to /app/controllers.
> Code :
>
> class Devise::SessionsController < DeviseController
...
> end
...
> but when  I want to log in I see this error message :
>
> expected /home/roelof/tamara_devise/app/controllers/sessions_controller.rb
> to define SessionsController

Maybe it's gritching about the difference between
Devise::SessionsController (which you've got there) and just plain
SessionsController (which it says it's expecting that file to define).
 Try removing the Devise:: part.

-Dave

-- 
Dave Aronson, the T. Rex of Codosaurus LLC,
secret-cleared freelance software developer
taking contracts in or near NoVa or remote.
See information at http://www.Codosaur.us/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to