update for model
This commit is contained in:
parent
7615affb38
commit
8d9e335dec
|
@ -3,8 +3,9 @@ class Department
|
|||
|
||||
include Mongoid::Document
|
||||
include Mongoid::Timestamps
|
||||
include Slug
|
||||
|
||||
field :name, :localize => true
|
||||
field :name, as: :slug_title, :localize => true
|
||||
field :sort_number, :type => Integer
|
||||
field :should_destroy, :type => Boolean
|
||||
|
||||
|
|
Loading…
Reference in New Issue