aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/action_cable/channel/base.rb
diff options
context:
space:
mode:
authorHayley Anderson <hayleyanderson@zoho.com>2016-02-27 13:53:31 -0500
committerHayley Anderson <hayleyanderson@zoho.com>2016-02-27 13:53:31 -0500
commitb425a865917aa34717f5016a6d05a220672c2b5e (patch)
tree98056904a9596a4eab0a5482ed972baca58446b9 /actioncable/lib/action_cable/channel/base.rb
parentecf6dc3dfbc0cdf1b0a86f48e030debd0f917cb6 (diff)
downloadrails-b425a865917aa34717f5016a6d05a220672c2b5e.tar.gz
rails-b425a865917aa34717f5016a6d05a220672c2b5e.tar.bz2
rails-b425a865917aa34717f5016a6d05a220672c2b5e.zip
Add small Action Cable documentation fixes
* Fix typos/grammar errors * Make capitalization/naming consistent
Diffstat (limited to 'actioncable/lib/action_cable/channel/base.rb')
-rw-r--r--actioncable/lib/action_cable/channel/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/channel/base.rb b/actioncable/lib/action_cable/channel/base.rb
index 05764fe107..714d9887d4 100644
--- a/actioncable/lib/action_cable/channel/base.rb
+++ b/actioncable/lib/action_cable/channel/base.rb
@@ -166,7 +166,7 @@ module ActionCable
end
end
- # Called by the cable connection when its cut, so the channel has a chance to cleanup with callbacks.
+ # Called by the cable connection when it's cut, so the channel has a chance to cleanup with callbacks.
# This method is not intended to be called directly by the user. Instead, overwrite the #unsubscribed callback.
def unsubscribe_from_channel # :nodoc:
run_callbacks :unsubscribe do