diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-08-13 18:44:59 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-08-13 18:51:47 +0300 |
commit | 05ba550b68be8eaf4dbdc07e2021930b432e8f14 (patch) | |
tree | a09b3e554fbde9b3bbff2164d363824b64a283c1 | |
parent | 788f46d4863a0f38ecec042864da291f2342ec74 (diff) | |
download | rails-05ba550b68be8eaf4dbdc07e2021930b432e8f14.tar.gz rails-05ba550b68be8eaf4dbdc07e2021930b432e8f14.tar.bz2 rails-05ba550b68be8eaf4dbdc07e2021930b432e8f14.zip |
Omit additional removing `config/cable.yml` by the app generator
`config/cable.yml` is never created if `--skip-action-cable` is given.
-rw-r--r-- | railties/lib/rails/generators/rails/app/app_generator.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb index cbe68823d4..a129895cc5 100644 --- a/railties/lib/rails/generators/rails/app/app_generator.rb +++ b/railties/lib/rails/generators/rails/app/app_generator.rb @@ -395,7 +395,6 @@ module Rails def delete_action_cable_files_skipping_action_cable if options[:skip_action_cable] - remove_file "config/cable.yml" remove_file "app/assets/javascripts/cable.js" remove_dir "app/channels" end |