aboutsummaryrefslogtreecommitdiffstats
path: root/lib/action_cable/connection
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2015-06-21 21:44:22 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2015-06-21 21:44:22 +0200
commit125a8445f304348d3e530e85b30991c2346155fd (patch)
tree3aaaa96afdb3938090aba3bc6de6bc90f108cd75 /lib/action_cable/connection
parentf8638f789a1cbd33205cdce0dd24f2aee3d69a25 (diff)
downloadrails-125a8445f304348d3e530e85b30991c2346155fd.tar.gz
rails-125a8445f304348d3e530e85b30991c2346155fd.tar.bz2
rails-125a8445f304348d3e530e85b30991c2346155fd.zip
Don't namespace methods with the class we are already in
Diffstat (limited to 'lib/action_cable/connection')
-rw-r--r--lib/action_cable/connection/base.rb4
1 files changed, 2 insertions, 2 deletions
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