diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2008-03-29 18:45:39 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-03-29 18:45:39 +0000 |
commit | 3e73278020107ea7282c45001d82e90d23a708b4 (patch) | |
tree | a725371edff1f1eac33259370495a8f76aeb2480 /railties/lib/rails_generator/generators/applications | |
parent | e8170805df1a32119db9d328daee1239b338ac71 (diff) | |
download | rails-3e73278020107ea7282c45001d82e90d23a708b4.tar.gz rails-3e73278020107ea7282c45001d82e90d23a708b4.tar.bz2 rails-3e73278020107ea7282c45001d82e90d23a708b4.zip |
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
Diffstat (limited to 'railties/lib/rails_generator/generators/applications')
-rw-r--r-- | railties/lib/rails_generator/generators/applications/app/app_generator.rb | 5 |
1 files changed, 2 insertions, 3 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 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" |