Can not see sign_up and sign_in forms after first signed in

11 views
Skip to first unread message

gustavo

unread,
Sep 26, 2011, 3:10:08 PM9/26/11
to Devise
Hi , I am new to Rails and I was trying with Devise to do
authentication. I created a new project, added devise gem, created a
User model using devise generator, and added a new user using rails
console.. Then I started the server and I could see sign_in form in
localhost:3000/users/sign_in and after I signed in it redirects to the
index.html page.

Now I was trying to go again to localhost:3000/users/sign_in and
localhost:3000/users/sign_up but both redirects me to the index.html
page..
How can I see the forms again? and how do I log out?

Felipe Msdn

unread,
Sep 26, 2011, 3:33:07 PM9/26/11
to plataforma...@googlegroups.com, Devise
Have you added rememberable at your model ? If u have, you need to set up the time to cookie expires.


Enviado via iPhone

Gustavo Salazar

unread,
Nov 23, 2011, 5:43:17 PM11/23/11
to plataforma...@googlegroups.com
Hi Felipe,
Sorry I answer too late.

Yes I have rememberable in the model.
Where should I set that cookie time?

2011/9/26 Felipe Msdn <felipem...@hotmail.com>



--
Gustavo Salazar
Reply all
Reply to author
Forward
0 new messages