Method: MotionPrime::BaseAppDelegate#reset_current_user

Defined in:
motion-prime/app_delegate.rb

#reset_current_userObject



57
58
59
60
61
# File 'motion-prime/app_delegate.rb', line 57

def reset_current_user
  user_was = @current_user
  @current_user = nil
  NSNotificationCenter.defaultCenter.postNotificationName(:on_current_user_reset, object: user_was)
end