app/models/fastui/m_menu_item.rb in fastui-0.1.3 vs app/models/fastui/m_menu_item.rb in fastui-0.1.4
- old
+ new
@@ -5,7 +5,10 @@
acts_as_nested_set
attr_accessible :m_menu_id, :m_menu, :window, :parent_id
belongs_to :m_menu, :class_name => 'Fastui::MMenu'
+ alias :leaf :leaf?
+ alias :expanded :child?
+
end
end