Removing unused messages

This commit is contained in:
Raphael 2010-08-09 10:47:45 -07:00
parent 73a6cd911b
commit 0a40efdaf7
2 changed files with 0 additions and 9 deletions

View file

@ -8,10 +8,6 @@ class SocketsController < ApplicationController
puts "#{msg} connected!"
end
def new_subscriber
WebSocket.subscribe
end
def outgoing(object)
@_request = ActionDispatch::Request.new({})
WebSocket.push_to_clients(action_hash(object))

View file

@ -32,10 +32,5 @@ module WebSocket
@channel.unsubscribe(sid)
end
def self.subscribe
@channel.subscribe{ |msg| ws.send msg }
end
end