Module: CanTango::Ability::Helper::Account

Defined in:
lib/cantango/ability/helper/account.rb

Instance Method Summary collapse

Instance Method Details

#accountObject



3
4
5
6
7
# File 'lib/cantango/ability/helper/account.rb', line 3

def 
  return subject. if subject.respond_to? :active_account
  return subject. if subject.respond_to? :account
  subject
end