Rails devise: user_signed_in? not working

Did you use devise’s before action in your controller?

before_action :authenticate_user!

Leave a Comment