archive/app/models/archive_sort_order.rb

4 lines
124 B
Ruby
Raw Normal View History

class ArchiveSortOrder
include Mongoid::Document
field :sort_order, :type => Boolean # true => desc , false => asc
end