MS DG friend deletions dont work, but they do send, prob a parser problem
This commit is contained in:
parent
d37461a432
commit
c073fc6137
1 changed files with 0 additions and 12 deletions
|
|
@ -3,12 +3,6 @@ class SocketsController < ApplicationController
|
||||||
include SocketsHelper
|
include SocketsHelper
|
||||||
include Rails.application.routes.url_helpers
|
include Rails.application.routes.url_helpers
|
||||||
before_filter :authenticate_user!
|
before_filter :authenticate_user!
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# def default_url_options()
|
|
||||||
# {:host=> 'example.com'}
|
|
||||||
# end
|
|
||||||
|
|
||||||
def incoming(msg)
|
def incoming(msg)
|
||||||
puts "#{msg} connected!"
|
puts "#{msg} connected!"
|
||||||
|
|
@ -20,17 +14,11 @@ class SocketsController < ApplicationController
|
||||||
|
|
||||||
def outgoing(object)
|
def outgoing(object)
|
||||||
@_request = ActionDispatch::Request.new({})
|
@_request = ActionDispatch::Request.new({})
|
||||||
|
|
||||||
puts action_hash(object)
|
puts action_hash(object)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
WebSocket.push_to_clients(action_hash(object))
|
WebSocket.push_to_clients(action_hash(object))
|
||||||
end
|
end
|
||||||
|
|
||||||
def delete_subscriber(sid)
|
def delete_subscriber(sid)
|
||||||
WebSocket.unsubscribe(sid)
|
WebSocket.unsubscribe(sid)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue