added orders to confirm report / phone allows more digits now / added reports to rails admin navigation

This commit is contained in:
Senad Uka
2015-05-11 11:35:24 +02:00
parent 0490800ab3
commit fe452d359f
11 changed files with 661 additions and 19 deletions

View File

@@ -4,6 +4,8 @@ class Item < ActiveRecord::Base
has_many :multi_media_descriptions
belongs_to :sub_category
has_many :item_in_groups
has_many :item_groups, through: :item_in_groups

View File

@@ -1,4 +1,6 @@
class ItemInGroup < ActiveRecord::Base
belongs_to :item_group
belongs_to :item
end