require 'pg' require 'haml-rails' require 'jquery-rails' require 'cocoon' module PagesCms class Engine < ::Rails::Engine isolate_namespace PagesCms # Decorators.register! Engine.root, Rails.root 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 ) end end