diff options
author | Javan Makhmali <javan@javan.us> | 2019-01-10 11:50:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-10 11:50:32 -0500 |
commit | 2163762c3cd7cb58223f882405ed3c6dcfb6a2cd (patch) | |
tree | 567546bda56ed0be9b3408ec10ead32adc62e43a /guides/source/action_cable_overview.md | |
parent | 9edc84cdfa8908a436901d85309cadf65d457d8f (diff) | |
parent | 86b489e3d6a9efbefbc62e8531d0f5850934d4e1 (diff) | |
download | rails-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.md | 2 |
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() ``` |