From 125a8445f304348d3e530e85b30991c2346155fd Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 21 Jun 2015 21:44:22 +0200 Subject: Don't namespace methods with the class we are already in --- lib/action_cable/connection/base.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/action_cable/connection') diff --git a/lib/action_cable/connection/base.rb b/lib/action_cable/connection/base.rb index f6beda1c57..d96216edc2 100644 --- a/lib/action_cable/connection/base.rb +++ b/lib/action_cable/connection/base.rb @@ -83,10 +83,10 @@ module ActionCable def handle_exception - close_connection + close end - def close_connection + def close logger.error "Closing connection" @websocket.close end -- cgit v1.2.3