aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_cable_overview.md
diff options
context:
space:
mode:
authorJavan Makhmali <javan@javan.us>2019-01-10 11:50:32 -0500
committerGitHub <noreply@github.com>2019-01-10 11:50:32 -0500
commit2163762c3cd7cb58223f882405ed3c6dcfb6a2cd (patch)
tree567546bda56ed0be9b3408ec10ead32adc62e43a /guides/source/action_cable_overview.md
parent9edc84cdfa8908a436901d85309cadf65d457d8f (diff)
parent86b489e3d6a9efbefbc62e8531d0f5850934d4e1 (diff)
downloadrails-2163762c3cd7cb58223f882405ed3c6dcfb6a2cd.tar.gz
rails-2163762c3cd7cb58223f882405ed3c6dcfb6a2cd.tar.bz2
rails-2163762c3cd7cb58223f882405ed3c6dcfb6a2cd.zip
Merge pull request #34905 from javan/move-npm-packages-to-rails-scope
Move all npm packages to @rails scope
Diffstat (limited to 'guides/source/action_cable_overview.md')
-rw-r--r--guides/source/action_cable_overview.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_cable_overview.md b/guides/source/action_cable_overview.md
index 7809607574..77a1b73bae 100644
--- a/guides/source/action_cable_overview.md
+++ b/guides/source/action_cable_overview.md
@@ -151,7 +151,7 @@ established using the following JavaScript, which is generated by default by Rai
// Action Cable provides the framework to deal with WebSockets in Rails.
// You can generate new channels where WebSocket features live using the `rails generate channel` command.
-import ActionCable from "actioncable"
+import ActionCable from "@rails/actioncable"
export default ActionCable.createConsumer()
```