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 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue