aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2017-01-01 09:24:28 +0100
committerGitHub <noreply@github.com>2017-01-01 09:24:28 +0100
commit469c062920f191a7006a951a9fc7c41029013226 (patch)
treeba99366c5a00c7efa42aed196fe4bb2f0c9173ca
parentb23187cc097f0f7177e228c9a64e47c680f81f9b (diff)
parent4e5a96dd292439e9bd525a645427b0a559a13608 (diff)
downloadrails-469c062920f191a7006a951a9fc7c41029013226.tar.gz
rails-469c062920f191a7006a951a9fc7c41029013226.tar.bz2
rails-469c062920f191a7006a951a9fc7c41029013226.zip
Merge pull request #27534 from y-yagi/remove_unnecessary_remove_file
remove unnecessary `remove_file`
-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 9ae48b3648..eb66b0b16a 100644
--- a/railties/lib/rails/generators/rails/app/app_generator.rb
+++ b/railties/lib/rails/generators/rails/app/app_generator.rb
@@ -323,7 +323,6 @@ module Rails
def delete_action_mailer_files_skipping_action_mailer
if options[:skip_action_mailer]
- remove_file "app/mailers/application_mailer.rb"
remove_file "app/views/layouts/mailer.html.erb"
remove_file "app/views/layouts/mailer.text.erb"
remove_dir "app/mailers"