aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2010-12-04 22:40:05 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2010-12-04 22:40:05 -0200
commite1d0d5ae81d2b02eebb1afbfb79edf0a2da2d48e (patch)
tree1880554c5e961ebbdc0fff5dd6885733aa9d2f93
parentc4669d3c027e5d9252ecfbf3a9792fbdb4d878d0 (diff)
downloadrails-e1d0d5ae81d2b02eebb1afbfb79edf0a2da2d48e.tar.gz
rails-e1d0d5ae81d2b02eebb1afbfb79edf0a2da2d48e.tar.bz2
rails-e1d0d5ae81d2b02eebb1afbfb79edf0a2da2d48e.zip
Fix mime type doc typos
-rw-r--r--actionpack/lib/action_dispatch/http/mime_type.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/http/mime_type.rb b/actionpack/lib/action_dispatch/http/mime_type.rb
index 08eab5634a..c85aa64572 100644
--- a/actionpack/lib/action_dispatch/http/mime_type.rb
+++ b/actionpack/lib/action_dispatch/http/mime_type.rb
@@ -173,10 +173,10 @@ module Mime
end
# input: 'text'
- # returend value: [Mime::JSON, Mime::XML, Mime::ICS, Mime::HTML, Mime::CSS, Mime::CSV, Mime::JS, Mime::YAML, Mime::TEXT]
+ # returned value: [Mime::JSON, Mime::XML, Mime::ICS, Mime::HTML, Mime::CSS, Mime::CSV, Mime::JS, Mime::YAML, Mime::TEXT]
#
# input: 'application'
- # returend value: [Mime::HTML, Mime::JS, Mime::XML, Mime::YAML, Mime::ATOM, Mime::JSON, Mime::RSS, Mime::URL_ENCODED_FORM
+ # returned value: [Mime::HTML, Mime::JS, Mime::XML, Mime::YAML, Mime::ATOM, Mime::JSON, Mime::RSS, Mime::URL_ENCODED_FORM]
def parse_data_with_trailing_star(input)
keys = Mime::LOOKUP.keys.select{|k| k.include?(input)}
Mime::LOOKUP.values_at(*keys).uniq