created item groups and link banners and their associations and fixed bugs with join tables
This commit is contained in:
4
back-office/app/models/item_group.rb
Normal file
4
back-office/app/models/item_group.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
class ItemGroup < ActiveRecord::Base
|
||||
has_and_belongs_to_many :items, :join_table => 'item_item_groups'
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user