Sha256: 53040a8b389cb6899110126d25cf84092b760f4543df681bb98e7c832dd6f2f3

Contents?: true

Size: 743 Bytes

Versions: 1

Compression:

Stored size: 743 Bytes

Contents

require 'ckeditor'
require 'devise'
require 'ransack'
require 'paper_trail'
require 'paper_trail-association_tracking'

module TrustyCms
  class Engine < Rails::Engine
    isolate_namespace TrustyCms
    paths['app/helpers'] = []
    initializer 'trusty_cms.assets.precompile' do |app|
      app.config.assets.paths << Rails.root.join('../trusty-cms/node_modules')
      app.config.assets.precompile += %w(
        admin/main.css admin.js
        ckeditor/config.js
        ckeditor/contents.css
        ckeditor/config.js
        ckeditor/styles.js
        ckeditor/skins/moono/editor.css
        ckeditor/lang/en.js
        rad_social/rad_screen.css
        rad_social/rad_email.js
        rad_social/rad_widget.js
      )
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trusty-cms-7.0.8 lib/trusty_cms/engine.rb