Skip to content

Commit

Permalink
Avoid version in Rack::Logger code comment (roidrage#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 committed Jan 11, 2022
1 parent 93b9891 commit 8846ceb
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 8846ceb

Please sign in to comment.