Module: Login::HelperIntegration

Defined in:
lib/login/helper_integration.rb

Overview

Automatically mixed into all views for utility functions.

Instance Method Summary collapse

Instance Method Details

#current_userObject

Returns the current user at the view level. Everything said about the current_user method in the Login::ControllerIntegration::InstanceMethods module applies to this method as well.



9
# File 'lib/login/helper_integration.rb', line 9

def current_user; controller.current_user end