aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-10-22 21:56:00 +0900
committerGitHub <noreply@github.com>2018-10-22 21:56:00 +0900
commitdc6761592009e9146552fc9d6299bf58a34e187a (patch)
tree77447b1446c53e2a513b8bba6dc5773872a67152 /railties
parenta918e3c8b1574f5290015fdab3f1c6810740b029 (diff)
parent2593ee3f49d03f70799cc77e64f4c27954c908c8 (diff)
downloadrails-dc6761592009e9146552fc9d6299bf58a34e187a.tar.gz
rails-dc6761592009e9146552fc9d6299bf58a34e187a.tar.bz2
rails-dc6761592009e9146552fc9d6299bf58a34e187a.zip
Merge pull request #34279 from bogdanvlviv/remove-extra-remove_file-skip_action_cable
Remove extra call `remove_file` on `rails new` with `--skip_action_cable`
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/app/app_generator.rb1
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 b118ea989b..1c7cf1a951 100644
--- a/railties/lib/rails/generators/rails/app/app_generator.rb
+++ b/railties/lib/rails/generators/rails/app/app_generator.rb
@@ -438,7 +438,6 @@ module Rails
def delete_action_cable_files_skipping_action_cable
if options[:skip_action_cable]
- remove_file "app/javascript/channels/consumer.js"
remove_dir "app/javascript/channels"
remove_dir "app/channels"
end