slug fix
This commit is contained in:
parent
9574c721b7
commit
7615affb38
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue