Skip to content

Commit

Permalink
Merge pull request sinatra#424 from adamvaughan/comment-fix
Browse files Browse the repository at this point in the history
fix a typo in a comment
  • Loading branch information
rkh committed Dec 7, 2011
2 parents 5304467 + 2d604cc commit 48fdb6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sinatra/base.rb
Expand Up @@ -52,7 +52,7 @@ def idempotent?

def accept_entry(entry)
type, *options = entry.delete(' ').split(';')
quality = 0 # we sort smalles first
quality = 0 # we sort smallest first
options.delete_if { |e| quality = 1 - e[2..-1].to_f if e.start_with? 'q=' }
[type, [quality, type.count('*'), 1 - options.size]]
end
Expand Down

0 comments on commit 48fdb6d

Please sign in to comment.