location of Devise::SessionsController

Hi

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
click
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.

Regards,
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 to gem devise method , take a look at them , you will understand that.

Regards,
Sanjiv Kumar Jha
Josh Software Private Limited