Sha256: e0fe26093d63f85f213494c2689a5d2343d9d482f38fa7f1ef81b34ca98c24f3
Contents?: true
Size: 614 Bytes
Versions: 10
Compression:
Stored size: 614 Bytes
Contents
# Guts' module namespace module Guts # Guts' engine class class Engine < ::Rails::Engine # Isolate Guts routes isolate_namespace Guts # Autoload concerns config.autoload_paths += ["#{config.root}/app/concerns"] # Allow decorator usage for extending Guts config.to_prepare do Dir.glob("#{Rails.root}/app/decorators/*/guts/*_decorator*.rb").each do |c| require_dependency(c) end end # Load in our custom assets to precompile config.assets.precompile << "#{config.root}/app/assets/javascripts/tinymce/plugins/guts_media/plugin.js" end end
Version data entries
10 entries across 10 versions & 1 rubygems