Sha256: 4427311f13112868be84ddf1c9dd8cba9e5055bb92e50e447958d9585045dde6

Contents?: true

Size: 679 Bytes

Versions: 13

Compression:

Stored size: 679 Bytes

Contents

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

require 'ckeditor'
require 'devise'
require 'ransack'

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
trusty-cms-7.0.7 lib/trusty_cms/engine.rb
trusty-cms-7.0.6 lib/trusty_cms/engine.rb
trusty-cms-7.0.5 lib/trusty_cms/engine.rb
trusty-cms-7.0.4 lib/trusty_cms/engine.rb
trusty-cms-7.0.3 lib/trusty_cms/engine.rb
trusty-cms-6.3.1 lib/trusty_cms/engine.rb
trusty-cms-7.0.2 lib/trusty_cms/engine.rb
trusty-cms-7.0.1 lib/trusty_cms/engine.rb
trusty-cms-7.0.0 lib/trusty_cms/engine.rb
trusty-cms-6.3 lib/trusty_cms/engine.rb
trusty-cms-6.2.1 lib/trusty_cms/engine.rb
trusty-cms-6.2.2.1 lib/trusty_cms/engine.rb
trusty-cms-6.2.0 lib/trusty_cms/engine.rb