lib/angelo/server.rb in angelo-0.1.10 vs lib/angelo/server.rb in angelo-0.1.11
- old
+ new
@@ -17,10 +17,10 @@
end
def on_connection connection
# RubyProf.resume
connection.each_request do |request|
- meth = request.websocket? ? :socket : request.method.downcase.to_sym
+ meth = request.websocket? ? :websocket : request.method.downcase.to_sym
dispatch! meth, connection, request
end
# RubyProf.pause
end