MS DG friend deletions dont work, but they do send, prob a parser problem

This commit is contained in:
maxwell 2010-07-09 19:36:02 -07:00
parent d37461a432
commit c073fc6137

View file

@ -3,12 +3,6 @@ class SocketsController < ApplicationController
include SocketsHelper
include Rails.application.routes.url_helpers
before_filter :authenticate_user!
# def default_url_options()
# {:host=> 'example.com'}
# end
def incoming(msg)
puts "#{msg} connected!"
@ -20,17 +14,11 @@ class SocketsController < ApplicationController
def outgoing(object)
@_request = ActionDispatch::Request.new({})
puts action_hash(object)
WebSocket.push_to_clients(action_hash(object))
end
def delete_subscriber(sid)
WebSocket.unsubscribe(sid)
end
end