Sha256: c97d44c9e0941e321a4cb578f5fe85cbc13d62263cce89a1046b66517f9e8bb8
Contents?: true
Size: 884 Bytes
Versions: 4
Compression:
Stored size: 884 Bytes
Contents
require 'devise' require 'configatron' require 'redcloth' require 'jquery-rails' require 'jquery-ui-rails' module EtabliocmsCore class Engine < ::Rails::Engine initializer "etabliocms_core.initialize" do |app| EtabliocmsCore.setup do |config| config.modules ||= [] config.modules << :core end end initializer "etabliocms_core.configure_app" do |app| app.config.i18n.default_locale = :cs Rails.application.config.assets.precompile += %w( admin-core.js admin-core.css ) end initializer "etabliocms_core.load_static_assets" do |app| app.middleware.use ::ActionDispatch::Static, "#{root}/public" end initializer 'etabliocms_core.application_controller' do |app| ActiveSupport.on_load(:action_controller) do include EtabliocmsCore::ApplicationControllerExtension end end end end
Version data entries
4 entries across 4 versions & 1 rubygems