aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib
diff options
context:
space:
mode:
authorEsquith Allen <esquithallen@gmail.com>2018-10-30 16:57:42 -0400
committerGitHub <noreply@github.com>2018-10-30 16:57:42 -0400
commit3b4939abda45523395836a6dd3571cfffe8e16e2 (patch)
tree727f39955d7a6f1be818861f1f293b717bfb674f /actioncable/lib
parentf4876545ffc8712fe5c62de2fff2822c7f9dad52 (diff)
downloadrails-3b4939abda45523395836a6dd3571cfffe8e16e2.tar.gz
rails-3b4939abda45523395836a6dd3571cfffe8e16e2.tar.bz2
rails-3b4939abda45523395836a6dd3571cfffe8e16e2.zip
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