Module: CanTango::Users::User
- Defined in:
- lib/cantango/users/user.rb
Instance Attribute Summary collapse
-
#active_account ⇒ Object
include Masquerade.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#active_account ⇒ Object
include Masquerade
7 8 9 |
# File 'lib/cantango/users/user.rb', line 7 def active_account @active_account end |
Class Method Details
.included(base) ⇒ Object
25 26 27 |
# File 'lib/cantango/users/user.rb', line 25 def self.included(base) CanTango.config.users.register base.name.underscore.gsub(/_user$/, ''), base end |