lib/proxes/controllers/audit_logs.rb in proxes-0.6.1 vs lib/proxes/controllers/audit_logs.rb in proxes-0.7.0
- old
+ new
@@ -6,9 +6,14 @@
module ProxES
class AuditLogs < Component
set model_class: AuditLog
+ def find_template(views, name, engine, &block)
+ super(views, name, engine, &block) # Root
+ super(::ProxES::ProxES.view_folder, name, engine, &block) # Basic Plugin
+ end
+
def list
super.order(:created_at).reverse
end
get '/new' do