Sha256: 1e2a6c322af1933f8568fcee909553233e4e9b4bd14c349d663af1b89b286cdd
Contents?: true
Size: 667 Bytes
Versions: 2
Compression:
Stored size: 667 Bytes
Contents
module Tim class Engine < Rails::Engine isolate_namespace Tim config.generators do |g| g.test_framework :rspec, :view_specs => false g.template_engine :haml end # Load Host Decorator Classes config.to_prepare do |c| # Load everything under patches, exceptions and decorators dir [ Dir[Rails.root.join('app', 'decorators', '**', '*_decorator.rb')], Dir[Tim::Engine.root.join('app', 'patches', '**', '*.rb')], Dir[Tim::Engine.root.join('app', 'exceptions', '**', '*.rb')] ].flatten.each do |f| Rails.application.config.cache_classes ? require(f) : load(f) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tim-0.3.0 | lib/tim/engine.rb |
tim-0.2.0 | lib/tim/engine.rb |