Method: Cortex::User#tenants_with_children

Defined in:
app/models/cortex/user.rb

#tenants_with_childrenObject



52
53
54
# File 'app/models/cortex/user.rb', line 52

def tenants_with_children
  tenants.flat_map(&:self_and_descendants)
end