aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-11-23 17:25:52 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-11-23 17:25:52 +0000
commitf15d52fc4ab921f010325adfd543c0a0c29913d2 (patch)
treefb5abbbfc09fc04fadf84ab9f5cea71812eadc60 /railties/environments
parenta02dbe0a3dee9c5f7645de74f233c57cabbdfcac (diff)
downloadrails-f15d52fc4ab921f010325adfd543c0a0c29913d2.tar.gz
rails-f15d52fc4ab921f010325adfd543c0a0c29913d2.tar.bz2
rails-f15d52fc4ab921f010325adfd543c0a0c29913d2.zip
Added text/csv as a default mime type and included example on how to make your own in config/environment.rb [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/environments')
-rw-r--r--railties/environments/environment.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/environments/environment.rb b/railties/environments/environment.rb
index f6301dab95..fe12591ded 100644
--- a/railties/environments/environment.rb
+++ b/railties/environments/environment.rb
@@ -53,4 +53,8 @@ end
# inflect.uncountable %w( fish sheep )
# end
+# Add new mime types for use in respond_to blocks:
+# Mime::Type.register "text/richtext", :rtf
+# Mime::Type.register "application/x-mobile", :mobile
+
# Include your application configuration below \ No newline at end of file