Search code examples
ruby-on-railsdevise

Current_user method using devise


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 ?


Solution

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

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