This commit is contained in:
Harry Bomrah 2015-09-24 16:04:26 +08:00
parent 9574c721b7
commit 7615affb38
1 changed files with 1 additions and 2 deletions

View File

@ -3,9 +3,8 @@ class Department
include Mongoid::Document
include Mongoid::Timestamps
include Slug
field :name, as: :slug_title, :localize => true
field :name, :localize => true
field :sort_number, :type => Integer
field :should_destroy, :type => Boolean