You’re not receiving notifications from this thread.
Why devise helpers are not available in application controller, except authenticate_user! ?
undefined local variable or method `user_signed_in' in application controller
but working fine in application.html.erb
why is that?
I think you have a typo. It's
user_signed_in. That should do the trick!
if user_signed_in? layout 'admin_lte_2' else layout 'some_other_layout' end