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