From f354ad1b69188009b5dc2827f19f634730fcf923 Mon Sep 17 00:00:00 2001 From: Nihad Abbasov Date: Fri, 3 May 2013 08:28:37 +0500 Subject: generate 'app/assets/images' directory when creating new rails app --- railties/lib/rails/generators/rails/app/app_generator.rb | 1 + .../lib/rails/generators/rails/app/templates/app/assets/images/.keep | 0 2 files changed, 1 insertion(+) delete mode 100644 railties/lib/rails/generators/rails/app/templates/app/assets/images/.keep (limited to 'railties/lib/rails') 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 -- cgit v1.2.3