diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-20 17:22:29 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-20 17:22:29 -0700 |
commit | c8eda9ade49700abce104de1ce7e8e1a754fc97e (patch) | |
tree | 03d20be229bf87eb5e854a3bea2e68068de4aac0 /actionpack/lib/action_dispatch | |
parent | c4a6109286909c394e8c5bfc471a1eb9de245d2b (diff) | |
download | rails-c8eda9ade49700abce104de1ce7e8e1a754fc97e.tar.gz rails-c8eda9ade49700abce104de1ce7e8e1a754fc97e.tar.bz2 rails-c8eda9ade49700abce104de1ce7e8e1a754fc97e.zip |
Fixed new_base tests on ruby 1.9
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/http/mime_types.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/http/mime_types.rb b/actionpack/lib/action_dispatch/http/mime_types.rb index 2d7fba1173..7c28cac419 100644 --- a/actionpack/lib/action_dispatch/http/mime_types.rb +++ b/actionpack/lib/action_dispatch/http/mime_types.rb @@ -1,9 +1,9 @@ # Build list of Mime types for HTTP responses # http://www.iana.org/assignments/media-types/ +Mime::Type.register "text/html", :html, %w( application/xhtml+xml ), %w( xhtml ) Mime::Type.register "*/*", :all Mime::Type.register "text/plain", :text, [], %w(txt) -Mime::Type.register "text/html", :html, %w( application/xhtml+xml ), %w( xhtml ) Mime::Type.register "text/javascript", :js, %w( application/javascript application/x-javascript ) Mime::Type.register "text/css", :css Mime::Type.register "text/calendar", :ics |