Sha256: c86dfe8e19df91fed303e9c91b72ba6ea418f91b418664d74296714bf0724b35
Contents?: true
Size: 450 Bytes
Versions: 9
Compression:
Stored size: 450 Bytes
Contents
# frozen_string_literal: true 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
9 entries across 9 versions & 1 rubygems