Sha256: ae0254312955cedf37b2d869e78babea7b4add4f171eb2e285b80d88e8fa9dab

Contents?: true

Size: 868 Bytes

Versions: 3

Compression:

Stored size: 868 Bytes

Contents

require 'pg'
require 'haml-rails'
require 'jquery-rails'
require 'cocoon'
require 'html_truncator'
require 'redcarpet'
require 'carrierwave'
require 'fog/aws'

module PagesCms
  class Engine < ::Rails::Engine
    isolate_namespace PagesCms

    config.to_prepare do
      Dir.glob(Rails.root + "app/decorators/**/*_decorator*.rb").each do |c|
        require_dependency(c)
      end
    end

    config.assets.paths << File.expand_path("../../assets/stylesheets", __FILE__)
    config.assets.paths << File.expand_path("../../assets/javascripts", __FILE__)
    config.assets.precompile += %w(
          pages_cms/pages_cms.scss
          pages_cms/sortable.js
          pages_cms/advanced_and_extended.js
          pages_cms/wysihtml5x-toolbar.js
          pages_cms/select2.min.js
          pages_cms/select2.min.css
          pages_cms/parsley.js
        )

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pages_cms-2.3.2 lib/pages_cms/engine.rb
pages_cms-2.3.1 lib/pages_cms/engine.rb
pages_cms-2.3.0 lib/pages_cms/engine.rb