Sha256: 0814cff70da46d8c22ed86c5fa2273f6aad52724d794865b953bf3b44dad6163
Contents?: true
Size: 925 Bytes
Versions: 12
Compression:
Stored size: 925 Bytes
Contents
module Lit class Engine < ::Rails::Engine require 'jquery-rails' config.autoload_paths += %W[#{Lit::Engine.root}/app/controllers/lit/concerns] isolate_namespace Lit initializer 'lit.assets.precompile' do |app| app.config.assets.precompile += %w[lit/application.css lit/application.js] app.config.assets.precompile += %w[lit/lit_frontend.css lit/lit_frontend.js] # add language flags to list of precompiled assets if app.config.i18n.available_locales app.config.i18n.available_locales.each do |l| app.config.assets.precompile << "lit/famfamfam_flags/#{l.to_s[0,2]}.png" end end end initializer 'lit.migrations.append' do |app| unless app.root.to_s.include?(root.to_s) config.paths['db/migrate'].expanded.each do |expanded_path| app.config.paths['db/migrate'] << expanded_path end end end end end
Version data entries
12 entries across 12 versions & 2 rubygems