Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signing out when not logged in raises exception #40

Open
pbjorklund opened this issue Mar 13, 2012 · 2 comments
Open

Signing out when not logged in raises exception #40

pbjorklund opened this issue Mar 13, 2012 · 2 comments

Comments

@pbjorklund
Copy link
Collaborator

http://hackful.com/users/sign_out

RuntimeError in UsersController#show
Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
@8bitpal
Copy link
Owner

8bitpal commented Mar 13, 2012

Oh, thanks. Will have a look at that.

@dsthode
Copy link
Contributor

dsthode commented Mar 15, 2012

Maybe this How-to could be applied to avoid collisions with the users route: https://github.com/plataformatec/devise/wiki/How-To:-Change-the-default-sign_in-and-sign_out-routes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants