diff options
author | Dan Gebhardt <dan@cerebris.com> | 2011-07-26 15:41:08 -0400 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-08-13 16:22:23 -0700 |
commit | bfde0636dd1b1252436ea3c42ddae2eecd2e554b (patch) | |
tree | d14eab19e71e6854ecde12d30f5da9580a6ab869 /railties/lib | |
parent | 651a9c93be23651bf33b53813f1124aa69ae53de (diff) | |
download | rails-bfde0636dd1b1252436ea3c42ddae2eecd2e554b.tar.gz rails-bfde0636dd1b1252436ea3c42ddae2eecd2e554b.tar.bz2 rails-bfde0636dd1b1252436ea3c42ddae2eecd2e554b.zip |
Include empty app/mailers directory in mountable and full plugins
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb | 1 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/plugin_new/templates/app/mailers/.empty_directory | 0 |
2 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb b/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb index 56b1587760..c46422437d 100644 --- a/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb +++ b/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb @@ -19,6 +19,7 @@ module Rails empty_directory_with_gitkeep "app/controllers" empty_directory_with_gitkeep "app/views" empty_directory_with_gitkeep "app/helpers" + empty_directory_with_gitkeep "app/mailers" empty_directory_with_gitkeep "app/assets/images/#{name}" end end diff --git a/railties/lib/rails/generators/rails/plugin_new/templates/app/mailers/.empty_directory b/railties/lib/rails/generators/rails/plugin_new/templates/app/mailers/.empty_directory new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/railties/lib/rails/generators/rails/plugin_new/templates/app/mailers/.empty_directory |