Module: AuthenticatedSystem

Defined in:
lib/vendor/authenticated_system.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

Inclusion hook to make #current_user and #logged_in? available as ActionView helper methods.



107
108
109
# File 'lib/vendor/authenticated_system.rb', line 107

def self.included(base)
  base.send :helper_method, :current_user, :logged_in?
end