app/models/spree/menu.rb in spree_essential_menus-0.2.3 vs app/models/spree/menu.rb in spree_essential_menus-0.2.6
- old
+ new
@@ -1,6 +1,9 @@
+require 'acts_as_tree'
+
class Spree::Menu < ActiveRecord::Base
-
+ include ActsAsTree
+
before_validation :get_static_page_path
belongs_to :menu_bar
belongs_to :page
\ No newline at end of file