app/controllers/users/sessions_controller.rb
# Check if there is no signed in user before doing the sign out.
#
# If there is no signed in user, it will set the flash message and redirect
# to the after_sign_out path.
Check if there is no signed in user before doing the sign out.
If there is no signed in user, it will set the flash message and redirect
to the after_sign_out path.
Check if there is no signed in user before doing the sign out . If there is no signed in user it will set the flash message and redirect to the after_sign_out path .
def verify_signed_out_user
    if all_signed_out?
      respond_to_on_destroy
    end
  end
def verify_signed_out_user if all_signed_out? respond_to_on_destroy end end
Check if there is no signed in user before doing the sign out.
Check if there is no signed in user before doing the sign out .
# set_flash_message! :notice, :already_signed_out