Sha256: 6e590761bfa2b1a8394a612d925156c3755527a2374e03432bdc4056f8c47fdc

Contents?: true

Size: 497 Bytes

Versions: 15

Compression:

Stored size: 497 Bytes

Contents

require 'meta-tags-helpers'
require 'mail_form'
require 'dm_core'

module DmCms
  class Engine < ::Rails::Engine
    isolate_namespace DmCms

    config.to_prepare do
      require_dependency 'dm_cms/model_decorators'
    end
    
    initializer "dm_cms.init_liquid_tags" do |app|
      #--- require each tag -- registration is done in the tag file itself
      Dir.glob(File.expand_path("../../../app/liquid/tags/*.rb", __FILE__)).each do |path|
        require path
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
dm_cms-4.2.3.10 lib/dm_cms/engine.rb
dm_cms-4.2.3.9 lib/dm_cms/engine.rb
dm_cms-4.2.3.8 lib/dm_cms/engine.rb
dm_cms-4.2.3.7 lib/dm_cms/engine.rb
dm_cms-4.2.3.6 lib/dm_cms/engine.rb
dm_cms-4.2.3.5 lib/dm_cms/engine.rb
dm_cms-4.2.3.4 lib/dm_cms/engine.rb
dm_cms-4.2.3.3 lib/dm_cms/engine.rb
dm_cms-4.2.3.2 lib/dm_cms/engine.rb
dm_cms-4.2.3.1 lib/dm_cms/engine.rb
dm_cms-4.2.3 lib/dm_cms/engine.rb
dm_cms-4.2.2.3 lib/dm_cms/engine.rb
dm_cms-4.2.2.2 lib/dm_cms/engine.rb
dm_cms-4.2.2.1 lib/dm_cms/engine.rb
dm_cms-4.2.2 lib/dm_cms/engine.rb