Topic: where are located devise current_user file?

Hello,

I used devise for a project. But i'm now to it, last time i have used nifty authentication.
i would like to add another current* session with my current_user. in nifty i have modified controller_authentication file.

but what file are for devise? i searched in all my directory and found nothing.

Thanks for helping me!

Re: where are located devise current_user file?

You can vendor your project, this way i'll can see all devise files (include controllers)

  Try this comand: bundle install --deployment

  You can undo this comand with this: bundle install --no-deployment

Re: where are located devise current_user file?

Thanks for your answer, finally i overwrited some devise method and all works now!