Sha256: 436b93e1cfbea8c2e3e74a4d5ff59b1d7830e8908333854f5d848c4db22ddd8b
Contents?: true
Size: 636 Bytes
Versions: 4
Compression:
Stored size: 636 Bytes
Contents
module EffectiveEmailTemplates class Engine < ::Rails::Engine engine_name 'effective_email_templates' # Set up our default configuration options. initializer 'effective_email_templates.defaults', before: :load_config_initializers do |app| eval File.read("#{config.root}/config/effective_email_templates.rb") end # Include has_one_email_review concern and allow any ActiveRecord object to call it initializer 'effective_email_templates.active_record' do |app| ActiveSupport.on_load :active_record do ActiveRecord::Base.extend(HasOneEmailReview::ActiveRecord) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems