I’ve just started to use devise today and I want to know if I have to create a current user method in my application controller or is it already created through devise ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Devise creates that helper method for you, and others too. Check
https://github.com/heartcombo/devise#controller-filters-and-helpers