aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorChad Ingram <matrix9180@gmail.com>2017-01-17 23:20:36 -0500
committerChad Ingram <matrix9180@gmail.com>2017-01-17 23:21:39 -0500
commita9c4dcee8dffeef60c86669ac57903a76a03524f (patch)
treeb7994d6aca60602c01dc78aeefa2665806714dce /railties/lib/rails
parent5ac8af203391c2bfa7f50cabefe65371f216347e (diff)
downloadrails-a9c4dcee8dffeef60c86669ac57903a76a03524f.tar.gz
rails-a9c4dcee8dffeef60c86669ac57903a76a03524f.tar.bz2
rails-a9c4dcee8dffeef60c86669ac57903a76a03524f.zip
Add channel_prefix support to ActionCable redis/evented_redis adapters.
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/cable.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/cable.yml b/railties/lib/rails/generators/rails/app/templates/config/cable.yml
index 0bbde6f74f..1da4913082 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/cable.yml
+++ b/railties/lib/rails/generators/rails/app/templates/config/cable.yml
@@ -7,3 +7,4 @@ test:
production:
adapter: redis
url: redis://localhost:6379/1
+ channel_prefix: <%= app_name %>_production