aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'actioncable/README.md')
-rw-r--r--actioncable/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/README.md b/actioncable/README.md
index 6d4be32be9..da312b2264 100644
--- a/actioncable/README.md
+++ b/actioncable/README.md
@@ -322,7 +322,7 @@ This format allows you to specify one configuration per Rails environment. You c
a Rails initializer with something like:
```ruby
-ActionCable.server.config.redis_path = Rails.root('somewhere/else/cable.yml')
+Rails.application.paths.add "config/redis/cable", with: "somewhere/else/cable.yml"
```
### Allowed Request Origins