diff options
author | Dan Gebhardt <dan@cerebris.com> | 2011-07-26 15:41:08 -0400 |
---|---|---|
committer | Dan Gebhardt <dan@cerebris.com> | 2011-07-29 08:15:44 -0400 |
commit | d8e62a93e388c674aa95b32b8688ba6e8366a643 (patch) | |
tree | c24344a2348e5b8e3c8618058229aecc597ad04b /railties/lib/rails | |
parent | 54463592cbfd78e1eb03bc1ac90e044dd30900a0 (diff) | |
download | rails-d8e62a93e388c674aa95b32b8688ba6e8366a643.tar.gz rails-d8e62a93e388c674aa95b32b8688ba6e8366a643.tar.bz2 rails-d8e62a93e388c674aa95b32b8688ba6e8366a643.zip |
Include empty app/mailers directory in mountable and full plugins
Diffstat (limited to 'railties/lib/rails')
-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 |