From 3e73278020107ea7282c45001d82e90d23a708b4 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 29 Mar 2008 18:45:39 +0000 Subject: Removed the default .htaccess configuration as there are so many good deployment options now (kept it as an example in README) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- .../lib/rails_generator/generators/applications/app/app_generator.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'railties/lib') 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 28f8ce2149..fc4ac8eb01 100644 --- a/railties/lib/rails_generator/generators/applications/app/app_generator.rb +++ b/railties/lib/rails_generator/generators/applications/app/app_generator.rb @@ -52,13 +52,12 @@ class AppGenerator < Rails::Generator::Base m.template "helpers/application_helper.rb", "app/helpers/application_helper.rb" m.template "helpers/test_helper.rb", "test/test_helper.rb" - # database.yml and .htaccess + # database.yml and routes.rb m.template "configs/databases/#{options[:db]}.yml", "config/database.yml", :assigns => { :app_name => @app_name, :socket => options[:db] == "mysql" ? mysql_socket_location : nil } - m.template "configs/routes.rb", "config/routes.rb" - m.template "configs/apache.conf", "public/.htaccess" + m.template "configs/routes.rb", "config/routes.rb" # Initializers m.template "configs/initializers/inflections.rb", "config/initializers/inflections.rb" -- cgit v1.2.3