lib/faye-rails/rack_adapter.rb in faye-rails-2.0.1 vs lib/faye-rails/rack_adapter.rb in faye-rails-2.0.3
- old
+ new
@@ -8,18 +8,9 @@
def initialize(app=nil, options=nil)
super
FayeRails.servers << self
end
- def listen(port, ssl_options = nil)
- if defined? ::Rails
- Faye.ensure_reactor_running!
- super
- else
- super
- end
- end
-
# Rudimentary routing support for channels to controllers.
#
# @param opts
# a Hash of mappings either string keys (channel globs)
# mapping to controller constants eg: