Files
grecia/config/initializers/audited.rb
Javi Martín 004684efe6 Use a string to define the class used by Audited
This is possible since Audited 5.2.0, and will make it easier to start
using Zeitwerk because it won't reference a constant in an initializer.
2024-04-11 19:08:02 +02:00

5 lines
110 B
Ruby

Audited.config do |config|
config.audit_class = "::Audit"
config.ignored_default_callbacks = [:touch]
end