aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/README.md
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-12-15 15:59:00 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-12-15 15:59:00 -0200
commit96455349ffb26f437bbe6fdaa8119f47f3f25985 (patch)
tree5ef2fa6e9ab1803362adf915f29b8bf4bf11a82f /actioncable/README.md
parentfc635b565393bd6b70be4af524934b3ea359e83c (diff)
downloadrails-96455349ffb26f437bbe6fdaa8119f47f3f25985.tar.gz
rails-96455349ffb26f437bbe6fdaa8119f47f3f25985.tar.bz2
rails-96455349ffb26f437bbe6fdaa8119f47f3f25985.zip
Configure the Action Cable's redis in the engine
This will decouple Action Cable from Rails.
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