Ruby-on-rails – Current_user method using devise

deviseruby-on-rails

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 ?

Best Answer

Devise creates that helper method for you, and others too. Check

https://github.com/heartcombo/devise#controller-filters-and-helpers