Module: CanTango::Users::UserAccount
- Includes:
- Masquerade
- Defined in:
- lib/cantango/users/user_account.rb
Instance Attribute Summary
Attributes included from Masquerade
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Masquerade
#masquerade_as, #masquerading?, #stop_masquerade
Class Method Details
.included(base) ⇒ Object
18 19 20 |
# File 'lib/cantango/users/user_account.rb', line 18 def self.included(base) CanTango.config.user_accounts.register base.name.underscore.gsub(/_account$/, ''), base end |