Permalink
Browse files

Merge pull request #424 from adamvaughan/comment-fix

fix a typo in a comment
  • Loading branch information...
2 parents 5304467 + 2d604cc commit 48fdb6de17e9c74e044302b7cbf06e940ede6f26 @rkh rkh committed Dec 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sinatra/base.rb
View
@@ -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

0 comments on commit 48fdb6d

Please sign in to comment.