aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable
diff options
context:
space:
mode:
authorप्रथमेश Sonpatki <csonpatki@gmail.com>2016-01-23 11:42:40 +0530
committerप्रथमेश Sonpatki <csonpatki@gmail.com>2016-01-23 11:42:40 +0530
commit4fdc56d5788349522fc6d43bbab14811a9f1f29e (patch)
tree64102d0baa4a1a7936ef7856a47619af537e1f34 /actioncable
parentf3cf476f8cb920bb83ad8c48321d138b0fa55464 (diff)
parent57a1abafdbb62fce147f02f59e76f20ed07f5bfd (diff)
downloadrails-4fdc56d5788349522fc6d43bbab14811a9f1f29e.tar.gz
rails-4fdc56d5788349522fc6d43bbab14811a9f1f29e.tar.bz2
rails-4fdc56d5788349522fc6d43bbab14811a9f1f29e.zip
Merge pull request #23207 from y-yagi/fix_path_of_actioncable_config
fix path of Action Cable configuration file [ci skip]
Diffstat (limited to 'actioncable')
-rw-r--r--actioncable/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/actioncable/README.md b/actioncable/README.md
index 74c88d1efe..63e328321b 100644
--- a/actioncable/README.md
+++ b/actioncable/README.md
@@ -302,7 +302,7 @@ Action Cable has three required configurations: the Redis connection, allowed re
### Redis
-By default, `ActionCable::Server::Base` will look for a configuration file in `Rails.root.join('config/redis/cable.yml')`.
+By default, `ActionCable::Server::Base` will look for a configuration file in `Rails.root.join('config/cable.yml')`.
This file must specify a Redis url for each Rails environment. It may use the following format:
```yaml
@@ -316,7 +316,7 @@ test: *development
You can also change the location of the Redis config file in a Rails initializer with something like:
```ruby
-Rails.application.paths.add "config/redis/cable", with: "somewhere/else/cable.yml"
+Rails.application.paths.add "config/cable", with: "somewhere/else/cable.yml"
```
### Allowed Request Origins