fix a typo in a comment #424

Merged
merged 1 commit into from Dec 7, 2011
View
2 lib/sinatra/base.rb
@@ -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