Update lib/sinatra/base.rb

Spelling.
This commit is contained in:
Nikica Jokić 2012-07-31 02:08:33 +03:00
parent 4d40a5e26c
commit cb6c4c67af
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ module Sinatra
end
# Behaves exactly like Rack::CommonLogger with the notable exception that it does nothing,
# if another CommonLogger is already in the middleware chane.
# if another CommonLogger is already in the middleware chain.
class CommonLogger < Rack::CommonLogger
def call(env)
env['sinatra.commonlogger'] ? @app.call(env) : super