aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib
diff options
context:
space:
mode:
authorGannon McGibbon <gannon.mcgibbon@gmail.com>2018-10-30 18:16:13 -0400
committerGitHub <noreply@github.com>2018-10-30 18:16:13 -0400
commitabda6fc3e82b373b537d69f4a1ca6b55439ca360 (patch)
tree672bbb6b46a1ee7585f960a3149eaa6d995b289a /actioncable/lib
parent1f7bd2a1711afd71a8a7c5537c677a95fc8978bd (diff)
parent3b4939abda45523395836a6dd3571cfffe8e16e2 (diff)
downloadrails-abda6fc3e82b373b537d69f4a1ca6b55439ca360.tar.gz
rails-abda6fc3e82b373b537d69f4a1ca6b55439ca360.tar.bz2
rails-abda6fc3e82b373b537d69f4a1ca6b55439ca360.zip
Merge pull request #34355 from esquith/patch-1
Update authorization.rb
Diffstat (limited to 'actioncable/lib')
-rw-r--r--actioncable/lib/action_cable/connection/authorization.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/connection/authorization.rb b/actioncable/lib/action_cable/connection/authorization.rb
index a22179d988..aef3386f71 100644
--- a/actioncable/lib/action_cable/connection/authorization.rb
+++ b/actioncable/lib/action_cable/connection/authorization.rb
@@ -5,7 +5,7 @@ module ActionCable
module Authorization
class UnauthorizedError < StandardError; end
- # Closes the \WebSocket connection if it is open and returns a 404 "File not Found" response.
+ # Closes the WebSocket connection if it is open and returns a 404 "File not Found" response.
def reject_unauthorized_connection
logger.error "An unauthorized connection attempt was rejected"
raise UnauthorizedError