1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

Merge pull request #554 from neektza/master

Just a tiny spelling fix.
This commit is contained in:
Konstantin Haase 2012-07-31 00:04:42 -07:00
commit 7e8920f20a

View file

@ -123,7 +123,7 @@ module Sinatra
end end
# Behaves exactly like Rack::CommonLogger with the notable exception that it does nothing, # 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 class CommonLogger < Rack::CommonLogger
def call(env) def call(env)
env['sinatra.commonlogger'] ? @app.call(env) : super env['sinatra.commonlogger'] ? @app.call(env) : super