app/models/fastui/m_org.rb in fastui-0.1.3 vs app/models/fastui/m_org.rb in fastui-0.1.4
- old
+ new
@@ -9,8 +9,11 @@
has_many :act_roles, :through => :m_relationships, :source => :m_role
has_many :actors, :through => :m_relationships, :source => :m_person
belongs_to :parent, :class_name => 'Fastui::MOrg'
+ alias :leaf :leaf?
+ alias :expanded :child?
+
end
end