i am using devise gem in my app for authentication. if i enter
link1 -> http://localhost:3000/users/sign_in,
once i login, it will be redirected to
link2 -> http://localhost:3000/user/dashboard.
if i can add new posts or comments for that user using this link
lets say i am using firebox.
If i copy that link3 and try it out in some other browser.
it will ask for sign_in .
if i sign_in with proper credentials, i have to redirect the link to link2 , but it is redirected to link3
thanks in advance.