aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails_generator/generators/applications
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails_generator/generators/applications')
-rw-r--r--railties/lib/rails_generator/generators/applications/app/app_generator.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/rails_generator/generators/applications/app/app_generator.rb b/railties/lib/rails_generator/generators/applications/app/app_generator.rb
index 01fff050ed..288e1cea84 100644
--- a/railties/lib/rails_generator/generators/applications/app/app_generator.rb
+++ b/railties/lib/rails_generator/generators/applications/app/app_generator.rb
@@ -44,6 +44,10 @@ class AppGenerator < Rails::Generator::Base
m.template "configs/routes.rb", "config/routes.rb"
m.template "configs/apache.conf", "public/.htaccess"
+ # Initializers
+ m.template "configs/initializers/inflections.rb", "config/initializers/inflections.rb"
+ m.template "configs/initializers/mime_types.rb", "configs/initializers/mime_types.rb"
+
# Environments
m.file "environments/boot.rb", "config/boot.rb"
m.template "environments/environment.rb", "config/environment.rb", :assigns => { :freeze => options[:freeze] }