add item set with scaffold

This commit is contained in:
Yan
2017-08-11 17:41:10 +06:30
parent be71d187b0
commit 03a6208a76
26 changed files with 476 additions and 1 deletions

View File

@@ -3,5 +3,5 @@ class ItemSet < ApplicationRecord
has_many :menu_items, through: :menu_item_sets
has_many :menu_instance_item_sets
has_many :menu_item_instances, through: :menu_item_sets
has_many :menu_item_instances, through: :menu_instance_item_sets
end

View File

@@ -0,0 +1,2 @@
class Settings::ItemSet < ApplicationRecord
end