Skip to content
This repository
Browse code

Fix mime type doc typos

  • Loading branch information...
commit e1d0d5ae81d2b02eebb1afbfb79edf0a2da2d48e 1 parent c4669d3
Carlos Antonio da Silva carlosantoniodasilva authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 actionpack/lib/action_dispatch/http/mime_type.rb
4 actionpack/lib/action_dispatch/http/mime_type.rb
@@ -173,10 +173,10 @@ def parse(accept_header)
173 173 end
174 174
175 175 # input: 'text'
176   - # returend value: [Mime::JSON, Mime::XML, Mime::ICS, Mime::HTML, Mime::CSS, Mime::CSV, Mime::JS, Mime::YAML, Mime::TEXT]
  176 + # returned value: [Mime::JSON, Mime::XML, Mime::ICS, Mime::HTML, Mime::CSS, Mime::CSV, Mime::JS, Mime::YAML, Mime::TEXT]
177 177 #
178 178 # input: 'application'
179   - # returend value: [Mime::HTML, Mime::JS, Mime::XML, Mime::YAML, Mime::ATOM, Mime::JSON, Mime::RSS, Mime::URL_ENCODED_FORM
  179 + # returned value: [Mime::HTML, Mime::JS, Mime::XML, Mime::YAML, Mime::ATOM, Mime::JSON, Mime::RSS, Mime::URL_ENCODED_FORM]
180 180 def parse_data_with_trailing_star(input)
181 181 keys = Mime::LOOKUP.keys.select{|k| k.include?(input)}
182 182 Mime::LOOKUP.values_at(*keys).uniq

0 comments on commit e1d0d5a

Please sign in to comment.
Something went wrong with that request. Please try again.