Method: ApplicationHelper#user_signed_in?
- Defined in:
- app/helpers/application_helper.rb
#user_signed_in? ⇒ Boolean
Is there a user signed in on this request?
302 303 304 |
# File 'app/helpers/application_helper.rb', line 302 def user_signed_in? !!current_user && !current_user.deleted? && !current_user.community_user&.deleted? end |