From 05ba550b68be8eaf4dbdc07e2021930b432e8f14 Mon Sep 17 00:00:00 2001 From: bogdanvlviv Date: Sun, 13 Aug 2017 18:44:59 +0300 Subject: Omit additional removing `config/cable.yml` by the app generator `config/cable.yml` is never created if `--skip-action-cable` is given. --- railties/lib/rails/generators/rails/app/app_generator.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'railties/lib') 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 -- cgit v1.2.3