Sha256: 6aff784a1aa50cb80890dd048584a740cc519070472e0177fe9a78afc1f6ebab

Contents?: true

Size: 352 Bytes

Versions: 1

Compression:

Stored size: 352 Bytes

Contents

module WebsocketRails
  
  class Engine < Rails::Engine
    initializer "websocket_rails.load_app_instance_data" do |app|
      paths['app/controllers'] = 'app/controllers'
      WebsocketRails.setup do |config|
        config.app_root = app.root
      end
      app.config.autoload_paths += [File.expand_path("../../lib", __FILE__)]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
websocket-rails-0.1.6 lib/websocket_rails/engine.rb