lib/assets/javascripts/websocket_rails/websocket_rails.js.coffee in websocket-rails-0.4.3 vs lib/assets/javascripts/websocket_rails/websocket_rails.js.coffee in websocket-rails-0.4.4

- old
+ new

@@ -1,9 +1,9 @@ ### WebsocketRails JavaScript Client Setting up the dispatcher: - var dispatcher = new WebSocketRails('localhost:3000'); + var dispatcher = new WebSocketRails('localhost:3000/websocket'); dispatcher.on_open = function() { // trigger a server event immediately after opening connection dispatcher.trigger('new_user',{user_name: 'guest'}); })