How to Sign out of a devise session from a custom controller?
Do we have any inbuilt function to do this? just like we have for user_signed_in?
user_signed_in?
Can just clear the sessions:
reset_session
There is a sign_out method in Devise. You can call it without parameters. See doc.
sign_out