Sha256: 178fa426158aa90dfb377bf758b2b5f6ff8f057e0ea0e07738b9d5bb9d5ea9e5
Contents?: true
Size: 795 Bytes
Versions: 14
Compression:
Stored size: 795 Bytes
Contents
module Alchemy class Engine < Rails::Engine isolate_namespace Alchemy engine_name 'alchemy' config.mount_at = '/' initializer 'alchemy.dependency_tracker' do [:erb, :slim, :haml].each do |handler| ActionView::DependencyTracker.register_tracker(handler, CacheDigests::TemplateTracker) end end initializer 'alchemy.non_digest_assets' do NonStupidDigestAssets.whitelist += [/^tinymce\//] end # Gutentag downcases all tgas before save. # We support having tags with uppercase characters. # The Gutentag search is case insensitive. initializer 'alchemy.gutentag_normalizer' do Gutentag.normaliser = ->(value) { value.to_s } end config.after_initialize do require_relative './userstamp' end end end
Version data entries
14 entries across 14 versions & 1 rubygems