added filter criteria models

This commit is contained in:
Edin Dazdarevic
2015-02-07 14:48:02 +01:00
parent 0bb6bb5a49
commit ead0e87e31
25 changed files with 240 additions and 6 deletions

View File

@@ -1,3 +1,4 @@
class Section < ActiveRecord::Base
has_many :categories
has_many :filter_criterias, as: :owner
end