I am using authlogic as a authentication mechanism.
I am sending out an email to user if he has any new friend request. I am
giving a URL in the email from which he can accept the invitation.
My problem is whenever the user is not logged in he is redirected to the
login page first. After successful login he should be redirected to
“accept_friendship” URL But it doesn’t it goes to the default page after
How should I fix this?