Skip to content

Commit

Permalink
Avoid version in Rack::Logger code comment (#327)
Browse files Browse the repository at this point in the history
This version mention could make it seem like it was no longer the case, but it is still the case, so by removing the version marker, this is less confusing.

The #before_dispatch code comment is still version-relevant, it seems.
  • Loading branch information
olleolleolle authored Jan 11, 2022
1 parent e6db583 commit f2ce77d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lograge/rails_ext/rack/logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module Rack
# that say:
# Started GET / for 192.168.2.1...
class Logger
# Overwrites Rails 3.2 code that logs new requests
# Overwrites Rails code that logs new requests
def call_app(*args)
env = args.last
@app.call(env)
Expand Down

0 comments on commit f2ce77d

Please sign in to comment.