lib/doorkeeper/orm/mongoid4/access_token.rb in doorkeeper-2.0.0.rc2 vs lib/doorkeeper/orm/mongoid4/access_token.rb in doorkeeper-2.0.0.rc3
- old
+ new
@@ -27,9 +27,10 @@
private_class_method :delete_all_for
def self.order_method
:order_by
end
+
def self.created_at_desc
[:created_at, :desc]
end
end
end