diff options
author | José Valim <jose.valim@gmail.com> | 2009-07-29 19:31:03 +0200 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-07-29 12:06:04 -0700 |
commit | d209aea7d88849b7c7a080d729045ce7c051ef1f (patch) | |
tree | 4bc7ef559c9617c4835e4b6d585b460caf39520e /actionpack/lib/action_dispatch/http/mime_type.rb | |
parent | fa0cf663fe6a6393a3ba117505703e587da4ddc5 (diff) | |
download | rails-d209aea7d88849b7c7a080d729045ce7c051ef1f.tar.gz rails-d209aea7d88849b7c7a080d729045ce7c051ef1f.tar.bz2 rails-d209aea7d88849b7c7a080d729045ce7c051ef1f.zip |
Remove last TODO.
Signed-off-by: Yehuda Katz <wycats@gmail.com>
Diffstat (limited to 'actionpack/lib/action_dispatch/http/mime_type.rb')
-rw-r--r-- | actionpack/lib/action_dispatch/http/mime_type.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/http/mime_type.rb b/actionpack/lib/action_dispatch/http/mime_type.rb index 27f27e27fe..cc989d6625 100644 --- a/actionpack/lib/action_dispatch/http/mime_type.rb +++ b/actionpack/lib/action_dispatch/http/mime_type.rb @@ -84,7 +84,7 @@ module Mime end def lookup_by_extension(extension) - EXTENSION_LOOKUP[extension] + EXTENSION_LOOKUP[extension.to_s] end # Registers an alias that's not used on mime type lookup, but can be referenced directly. Especially useful for |