diff options
author | Xavier Noria <fxn@hashref.com> | 2016-05-15 00:17:35 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2016-05-15 00:17:35 +0200 |
commit | 0827f9932f75360dc4a7db8046d08d55055e8526 (patch) | |
tree | 21f70987c5a17d226ad6cfa9e5f6f9c4b9c635de /railties/lib | |
parent | 88962bc3422b07174ea17f68497edf5a1710f035 (diff) | |
download | rails-0827f9932f75360dc4a7db8046d08d55055e8526.tar.gz rails-0827f9932f75360dc4a7db8046d08d55055e8526.tar.bz2 rails-0827f9932f75360dc4a7db8046d08d55055e8526.zip |
reorder env keys in the generated config/cable.yml
Conventionally envs are ordered development -> test -> production.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/cable.yml | 9 |
1 files changed, 4 insertions, 5 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 aa4e832748..0bbde6f74f 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/cable.yml +++ b/railties/lib/rails/generators/rails/app/templates/config/cable.yml @@ -1,10 +1,9 @@ -# Action Cable uses Redis by default to administer connections, channels, and sending/receiving messages over the WebSocket. -production: - adapter: redis - url: redis://localhost:6379/1 - development: adapter: async test: adapter: async + +production: + adapter: redis + url: redis://localhost:6379/1 |