Sha256: 8044b08f5b672bb0f7da09639b22f2cd93902d9eb3b7a63c454b74e36b8652c1
Contents?: true
Size: 594 Bytes
Versions: 1
Compression:
Stored size: 594 Bytes
Contents
class PhenomenalRails::Engine < Rails::Engine isolate_namespace PhenomenalRails config.app_middleware.use(PhenomenalRails::Middleware) config.before_configuration do Rails.configuration.autoload_paths += PhenomenalRails::Loader.autoload_paths(File.expand_path(PhenomenalRails::PATH,Rails.root)) end config.to_prepare do PhenomenalRails::Loader.prepare(true) end config.after_initialize do ActionController::Base.prepend_view_path(PhenomenalRails::Resolver.instance) end ActionDispatch::Callbacks.before do |*args| PhenomenalRails::Loader.prepare end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phenomenal_rails-1.2.5 | lib/phenomenal_rails/engine.rb |