diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-08-16 05:01:30 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-16 05:01:30 -0300 |
commit | 3fc0bbf008f0e935ab56559f119c9ea8250bfddd (patch) | |
tree | 9124f1d051745a791c4a9e0507bf175ecd234613 /railties/lib | |
parent | 4497b53ee91768ad48d66ed05800517eeb73d858 (diff) | |
parent | a42ec22b0b4a8e0f966d53d2cf60f07b1445077e (diff) | |
download | rails-3fc0bbf008f0e935ab56559f119c9ea8250bfddd.tar.gz rails-3fc0bbf008f0e935ab56559f119c9ea8250bfddd.tar.bz2 rails-3fc0bbf008f0e935ab56559f119c9ea8250bfddd.zip |
Merge pull request #26157 from y-yagi/remove_test_mailers_when_skipping_action-mailer
remove "test/mailers" directory when skipping action-mailer
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/app_generator.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb index 946645ee2d..9f9c50ca10 100644 --- a/railties/lib/rails/generators/rails/app/app_generator.rb +++ b/railties/lib/rails/generators/rails/app/app_generator.rb @@ -325,6 +325,7 @@ module Rails remove_file "app/views/layouts/mailer.html.erb" remove_file "app/views/layouts/mailer.text.erb" remove_dir "app/mailers" + remove_dir "test/mailers" end end |