Skip to content

Commit d3e2f88

Browse files
committed
making diff smaller
1 parent 99a8a87 commit d3e2f88

File tree

1 file changed

+1
-2
lines changed
  • lib/rack/session/abstract

1 file changed

+1
-2
lines changed

lib/rack/session/abstract/id.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ def context(env, app=@app)
251251
prepare_session(env)
252252
status, headers, body = app.call(env)
253253
commit_session(env, status, headers, body)
254-
[status, headers, body]
255254
end
256255

257256
private
@@ -358,7 +357,7 @@ def commit_session(env, status, headers, body)
358357

359358
if options[:drop] || options[:renew]
360359
session_id = destroy_session(env, session.id || generate_sid, options)
361-
return unless session_id
360+
return [status, headers, body] unless session_id
362361
end
363362

364363
return [status, headers, body] unless commit_session?(env, session, options)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy