lib/outpost/list.rb in outpost-cms-0.0.3 vs lib/outpost/list.rb in outpost-cms-0.0.4
- old
+ new
@@ -2,12 +2,12 @@
# Outpost::List
module Outpost
module List
extend ActiveSupport::Autoload
- DEFAULT_ORDER = "id"
- DEFAULT_SORT_MODE = "desc"
- DEFAULT_PER_PAGE = 25
+ DEFAULT_ORDER_ATTRIBUTE = "id"
+ DEFAULT_ORDER_DIRECTION = DESCENDING
+ DEFAULT_PER_PAGE = 25
autoload :Base
autoload :Column
autoload :Filter
end