Method: MotionPrime::BaseAppDelegate#current_user
- Defined in:
- motion-prime/app_delegate.rb
#current_user ⇒ Object
51 52 53 54 55 |
# File 'motion-prime/app_delegate.rb', line 51 def current_user @current_user ||= if defined?(User) && User.respond_to?(:current) User.current end end |