9 lines
198 B
Ruby
9 lines
198 B
Ruby
|
class SelectedCourseCategory
|
||
|
include Mongoid::Document
|
||
|
include Mongoid::Timestamps
|
||
|
|
||
|
field :title, localize: true
|
||
|
field :sort_position, type: Integer, default: 0
|
||
|
|
||
|
has_many :selected_courses
|
||
|
end
|