Sha256: 2733439f9c16527d315a21b949ee25cb87da2a61b96496335e05df213dcf36f1
Contents?: true
Size: 368 Bytes
Versions: 7
Compression:
Stored size: 368 Bytes
Contents
module Login # Automatically mixed into all views for utility functions. module HelperIntegration # 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. def current_user; controller.current_user end end end
Version data entries
7 entries across 7 versions & 2 rubygems