diff options
author | Nihad Abbasov <narkoz.2008@gmail.com> | 2013-05-03 08:28:37 +0500 |
---|---|---|
committer | Nihad Abbasov <narkoz.2008@gmail.com> | 2013-05-04 16:26:27 +0500 |
commit | f354ad1b69188009b5dc2827f19f634730fcf923 (patch) | |
tree | 4542fb4e93ac2c300d3375d8446d456b2ff40e57 /railties/lib/rails | |
parent | efaecadaf9cc2f3b55df04f3355dbc298a544a46 (diff) | |
download | rails-f354ad1b69188009b5dc2827f19f634730fcf923.tar.gz rails-f354ad1b69188009b5dc2827f19f634730fcf923.tar.bz2 rails-f354ad1b69188009b5dc2827f19f634730fcf923.zip |
generate 'app/assets/images' directory when creating new rails app
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/app/app_generator.rb | 1 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/app/assets/images/.keep | 0 |
2 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 b2d1be9b51..5877579fc4 100644 --- a/railties/lib/rails/generators/rails/app/app_generator.rb +++ b/railties/lib/rails/generators/rails/app/app_generator.rb @@ -56,6 +56,7 @@ module Rails def app directory 'app' + keep_file 'app/assets/images' keep_file 'app/mailers' keep_file 'app/models' diff --git a/railties/lib/rails/generators/rails/app/templates/app/assets/images/.keep b/railties/lib/rails/generators/rails/app/templates/app/assets/images/.keep deleted file mode 100644 index e69de29bb2..0000000000 --- a/railties/lib/rails/generators/rails/app/templates/app/assets/images/.keep +++ /dev/null |