diff options
author | Jay Hayes <jay@bignerdranch.com> | 2016-05-03 11:37:17 -0500 |
---|---|---|
committer | Jay Hayes <jay@bignerdranch.com> | 2016-05-03 11:37:17 -0500 |
commit | 43cb7acc0150a975b55202647ac58065335d4286 (patch) | |
tree | 5bcf2e571ed4861ca53f8da7e8d7cba12b418fa8 /actioncable | |
parent | 25f829e43fbae0c29a3f2e54f5f0c7ebd7c9b46e (diff) | |
download | rails-43cb7acc0150a975b55202647ac58065335d4286.tar.gz rails-43cb7acc0150a975b55202647ac58065335d4286.tar.bz2 rails-43cb7acc0150a975b55202647ac58065335d4286.zip |
Fix code formatting in docs
Diffstat (limited to 'actioncable')
-rw-r--r-- | actioncable/lib/action_cable/channel/streams.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actioncable/lib/action_cable/channel/streams.rb b/actioncable/lib/action_cable/channel/streams.rb index 200c9d053c..0a0a95f453 100644 --- a/actioncable/lib/action_cable/channel/streams.rb +++ b/actioncable/lib/action_cable/channel/streams.rb @@ -19,14 +19,14 @@ module ActionCable # end # # Based on the above example, the subscribers of this channel will get whatever data is put into the, - # let's say, `comments_for_45` broadcasting as soon as it's put there. + # let's say, <tt>comments_for_45</tt> broadcasting as soon as it's put there. # # An example broadcasting for this channel looks like so: # # ActionCable.server.broadcast "comments_for_45", author: 'DHH', content: 'Rails is just swell' # # If you have a stream that is related to a model, then the broadcasting used can be generated from the model and channel. - # The following example would subscribe to a broadcasting like `comments:Z2lkOi8vVGVzdEFwcC9Qb3N0LzE` + # The following example would subscribe to a broadcasting like <tt>comments:Z2lkOi8vVGVzdEFwcC9Qb3N0LzE</tt>. # # class CommentsChannel < ApplicationCable::Channel # def subscribed |