diff options
author | Jon Moss <maclover7@users.noreply.github.com> | 2016-02-27 15:17:11 -0500 |
---|---|---|
committer | Jon Moss <maclover7@users.noreply.github.com> | 2016-02-27 15:17:11 -0500 |
commit | 65b2cfadddeaa3b077332f4c2a7848321255495a (patch) | |
tree | cd07007daf37b0762087e38097843bf9ee4e192b /actioncable/lib/action_cable/helpers/action_cable_helper.rb | |
parent | 3174b5f92a43e4bfdf4f833389b1ac819ac2cdc5 (diff) | |
parent | b425a865917aa34717f5016a6d05a220672c2b5e (diff) | |
download | rails-65b2cfadddeaa3b077332f4c2a7848321255495a.tar.gz rails-65b2cfadddeaa3b077332f4c2a7848321255495a.tar.bz2 rails-65b2cfadddeaa3b077332f4c2a7848321255495a.zip |
Merge pull request #23933 from HayleyCAnderson/ha-action-cable-docs-fixes
[ci skip] Add small Action Cable documentation fixes
Diffstat (limited to 'actioncable/lib/action_cable/helpers/action_cable_helper.rb')
-rw-r--r-- | actioncable/lib/action_cable/helpers/action_cable_helper.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/actioncable/lib/action_cable/helpers/action_cable_helper.rb b/actioncable/lib/action_cable/helpers/action_cable_helper.rb index 200732fdcd..2081a37db6 100644 --- a/actioncable/lib/action_cable/helpers/action_cable_helper.rb +++ b/actioncable/lib/action_cable/helpers/action_cable_helper.rb @@ -1,24 +1,24 @@ module ActionCable module Helpers module ActionCableHelper - # Returns an "action-cable-url" meta tag with the value of the url specified in your - # configuration. Ensure this is above your javascript tag: + # Returns an "action-cable-url" meta tag with the value of the URL specified in your + # configuration. Ensure this is above your JavaScript tag: # # <head> # <%= action_cable_meta_tag %> # <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> # </head> # - # This is then used by Action Cable to determine the url of your WebSocket server. + # This is then used by Action Cable to determine the URL of your WebSocket server. # Your CoffeeScript can then connect to the server without needing to specify the - # url directly: + # URL directly: # # #= require cable # @App = {} # App.cable = Cable.createConsumer() # - # Make sure to specify the correct server location in each of your environments - # config file: + # Make sure to specify the correct server location in each of your environment + # config files: # # config.action_cable.mount_path = "/cable123" # <%= action_cable_meta_tag %> would render: |