Add custom mime type file for mongrel. config/mime.yml is added with generated apps from the rails command. [Rick Olson]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5571 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Rick Olson
2006-11-19 21:01:25 +00:00
parent bc6f0d2f30
commit ca2d704c75
2 changed files with 3 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
*SVN*
* Add custom mime type file for mongrel. config/mime.yml is added with generated apps from the rails command. [Rick Olson]
* Update to Prototype 1.5.0_rc2 [5550] which makes it work in Opera again [Thomas Fuchs]
* Make sure that exceptions which are thrown outside of the user code try their best to be handeled in ApplicationController#rescue_action [Tobias Luetke]

View File

@@ -41,6 +41,7 @@ class AppGenerator < Rails::Generator::Base
:app_name => @app_name,
:socket => options[:db] == "mysql" ? mysql_socket_location : nil
}
m.template "configs/mime.yml", "config/mime.yml"
m.template "configs/routes.rb", "config/routes.rb"
m.template "configs/apache.conf", "public/.htaccess"