diff options
author | Jon Moss <me@jonathanmoss.me> | 2017-03-22 15:36:17 -0400 |
---|---|---|
committer | Jon Moss <me@jonathanmoss.me> | 2017-03-22 15:36:17 -0400 |
commit | f1a2a94f54594243d0d59fcce0d42431bed4be28 (patch) | |
tree | 379995b1dbddd5ae955bbf0ee51b91538cafd96a /actionpack | |
parent | 62a8e838e0e06893f1c63d40026012b44b4d1d37 (diff) | |
download | rails-f1a2a94f54594243d0d59fcce0d42431bed4be28.tar.gz rails-f1a2a94f54594243d0d59fcce0d42431bed4be28.tar.bz2 rails-f1a2a94f54594243d0d59fcce0d42431bed4be28.zip |
Small grammar fix
Tried to make the sentence read more clearly.
[ci skip]
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/http/mime_negotiation.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/http/mime_negotiation.rb b/actionpack/lib/action_dispatch/http/mime_negotiation.rb index ccad5afbc2..19f89edbc1 100644 --- a/actionpack/lib/action_dispatch/http/mime_negotiation.rb +++ b/actionpack/lib/action_dispatch/http/mime_negotiation.rb @@ -135,8 +135,7 @@ module ActionDispatch } end - # Receives an array of MIME types and return the first user sent MIME type - # that matches the order array. + # Returns the first MIME type that matches the provided array of MIME types. def negotiate_mime(order) formats.each do |priority| if priority == Mime::ALL |