Permalink
Browse files
Update lib/sinatra/base.rb
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
lib/sinatra/base.rb
|
@@ -123,7 +123,7 @@ def async?(status, headers, body) |
|
|
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
|
|
|
0 comments on commit
cb6c4c6