lib/faye-rails/controller/channel.rb in faye-rails-1.0.1 vs lib/faye-rails/controller/channel.rb in faye-rails-1.0.2

- old
+ new

@@ -12,10 +12,10 @@ def client FayeRails.client(endpoint) end def publish(message) - FayeRails.client(endpoint).publish(channel, message) + client.publish(channel, message) end def monitor(event, &block) raise ArgumentError, "Unknown event #{event.inspect}" unless [:subscribe,:unsubscribe,:publish].member? event