Location of Devise::SessionsController


I am working on login-logout functionality in my project.
When I provide the login details and click on login button,
it goes to some create method in Devise::SessionsController and when I
on logout button, it goes to some destroy method in
Devise::SessionsController and I am not able to see any such method or
controller in my code.

Can anyone help me regarding this.

Amit Chaudhary,
Software Engineer

Hi Amit,
Looking at controller name Devise::session controller name its clear
you are using devise, if you have not override devise , them it will go
gem devise method , take a look at them , you will understand that.

Sanjiv Kumar Jha
Josh Software Private Limited http://www.joshsoftware.com