Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Commit

Permalink
Revert "Mark session as "skipped" so no Set-Cookie header is set"
Browse files Browse the repository at this point in the history
This reverts commit ef6d89b.

Conflicts:
	lib/sprockets/server.rb
  • Loading branch information
josh committed Feb 9, 2014
1 parent b535c0a commit 5620203
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/sprockets/server.rb
Expand Up @@ -25,11 +25,6 @@ def call(env)

msg = "Served asset #{env['PATH_INFO']} -"

# Mark session as "skipped" so no `Set-Cookie` header is set
env['rack.session.options'] ||= {}
env['rack.session.options'][:defer] = true
env['rack.session.options'][:skip] = true

# Extract the path from everything after the leading slash
path = unescape(env['PATH_INFO'].to_s.sub(/^\//, ''))

Expand Down

0 comments on commit 5620203

Please sign in to comment.