added menu sub sub items (horrible name i know)

This commit is contained in:
Edin Dazdarevic
2015-04-15 00:10:37 +02:00
parent f71ab5ea47
commit 19cdca76b1
9 changed files with 45 additions and 11 deletions

View File

@@ -1,3 +1,4 @@
class MenuSubItem < ActiveRecord::Base
belongs_to :menu_item
has_many :menu_sub_sub_items
end

View File

@@ -0,0 +1,3 @@
class MenuSubSubItem < ActiveRecord::Base
belongs_to :menu_sub_item
end