Sha256: 3999efe6e467d5b090a91cff2ebc15d62d8c3aef61a9fdd01ce623bb104d6e9c
Contents?: true
Size: 419 Bytes
Versions: 25
Compression:
Stored size: 419 Bytes
Contents
module PaperTrail module Rails # See http://guides.rubyonrails.org/engines.html class Engine < ::Rails::Engine paths["app/models"] << "lib/paper_trail/frameworks/active_record/models" config.paper_trail = ActiveSupport::OrderedOptions.new initializer "paper_trail.initialisation" do |app| PaperTrail.enabled = app.config.paper_trail.fetch(:enabled, true) end end end end
Version data entries
25 entries across 24 versions & 2 rubygems