Module: QuickAuth::Authentication

Defined in:
lib/quick_auth/authentication.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



9
10
11
# File 'lib/quick_auth/authentication.rb', line 9

def included(base)
  base.send :helper_method, :current_user, :signed_in?, :authorized? if base.respond_to? :helper_method
end