Sha256: 09354338fec10635d15f0055d76aeb35ec822003f97fb3a4aa44bf07b58f89a9

Contents?: true

Size: 485 Bytes

Versions: 3

Compression:

Stored size: 485 Bytes

Contents

module Coalla
  module Cms
    class Engine < ::Rails::Engine
      require 'active_support/i18n'
      I18n.load_path += Dir[File.expand_path('../../../config/locales/*.yml', __FILE__)]

      initializer :init_orm do
        ActiveSupport.on_load :active_record do
          require 'coalla/orm/sortable_association'
          require 'coalla/orm/page_slider'
          require 'coalla/orm/multi_field'
          require 'coalla/orm/sanitized'
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
coalla-cms-0.7.0.0 lib/coalla/cms/engine.rb
coalla-cms-0.6.1.1 lib/coalla/cms/engine.rb
coalla-cms-0.6.0.9 lib/coalla/cms/engine.rb