Sha256: 9d19b86bd708b8de6767ed47cbe06a69d242f32bd1fc670293c2f6560b06fb28
Contents?: true
Size: 511 Bytes
Versions: 2
Compression:
Stored size: 511 Bytes
Contents
module EventMachine class Engine < Rails::Engine initializer "event_machine.load_app_instance_data" do |app| EventMachine.setup do |config| config.app_root = app.root end end #initialize "event_machine.load_static_assets" do |app| # app.middleware.use ::ActionDispatc::Static, "#{root}/public" #end initializer "event_machine.application" do ActiveSupport.on_load :action_controller do include EventMachine::Hooks end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
event_machine-0.4.1 | lib/event_machine/engine.rb |
event_machine-0.4.0 | lib/event_machine/engine.rb |