lib/proxes/controllers/audit_logs.rb in proxes-0.3.5 vs lib/proxes/controllers/audit_logs.rb in proxes-0.3.6
- old
+ new
@@ -5,9 +5,13 @@
module ProxES
class AuditLogs < Component
set model_class: AuditLog
+ def list
+ super.order(:created_at).reverse
+ end
+
get '/new' do
halt 404
end
post '/' do