Sha256: 0b9cea64eee8313c8aec13a6cc8cc1af0e1205180b2f6b76a815c6fc6be270c9
Contents?: true
Size: 834 Bytes
Versions: 6
Compression:
Stored size: 834 Bytes
Contents
module SpreeEssentials class Engine < Rails::Engine engine_name "spree_essentials" config.autoload_paths += %W(#{config.root}/lib) initializer :assets do |config| Rails.application.config.assets.precompile += %w( admin/markitup.css admin/date.js admin/jquery.autodate.js admin/jquery.markitup.js admin/markdown.set.js ) end config.to_prepare do #loads application's model / class decorators Dir.glob File.expand_path("../../../app/**/*_decorator.rb", __FILE__) do |c| Rails.configuration.cache_classes ? require(c) : load(c) end #loads application's deface view overrides Dir.glob File.expand_path("../../../app/overrides/**/*.rb", __FILE__) do |c| Rails.application.config.cache_classes ? require(c) : load(c) end end end end
Version data entries
6 entries across 6 versions & 2 rubygems