From f15d52fc4ab921f010325adfd543c0a0c29913d2 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 23 Nov 2006 17:25:52 +0000 Subject: 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 --- railties/environments/environment.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'railties/environments') 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 -- cgit v1.2.3