aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/rails/generators
diff options
context:
space:
mode:
authorJavan Makhmali <javan@javan.us>2019-01-09 08:09:51 -0500
committerJavan Makhmali <javan@javan.us>2019-01-10 11:01:57 -0500
commit86b489e3d6a9efbefbc62e8531d0f5850934d4e1 (patch)
tree680d879e2a88d27d8cef6accdf327d076ae74343 /actioncable/lib/rails/generators
parent7aaf9b8076704426c5e3f20bc3018c398f58dc88 (diff)
downloadrails-86b489e3d6a9efbefbc62e8531d0f5850934d4e1.tar.gz
rails-86b489e3d6a9efbefbc62e8531d0f5850934d4e1.tar.bz2
rails-86b489e3d6a9efbefbc62e8531d0f5850934d4e1.zip
Move all npm packages to @rails scope
Fixes #33083
Diffstat (limited to 'actioncable/lib/rails/generators')
-rw-r--r--actioncable/lib/rails/generators/channel/templates/javascript/consumer.js.tt2
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/rails/generators/channel/templates/javascript/consumer.js.tt b/actioncable/lib/rails/generators/channel/templates/javascript/consumer.js.tt
index 76ca3d0f2f..eec7e54b8a 100644
--- a/actioncable/lib/rails/generators/channel/templates/javascript/consumer.js.tt
+++ b/actioncable/lib/rails/generators/channel/templates/javascript/consumer.js.tt
@@ -1,6 +1,6 @@
// 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()