Skip to content
Browse files

Revert "Mark session as "skipped" so no Set-Cookie header is set"

This reverts commit ef6d89b.

Conflicts:
	lib/sprockets/server.rb
  • Loading branch information...
1 parent b535c0a commit 562020373f6a04422789332a60b09fefd8e7fafd @josh josh committed Feb 9, 2014
Showing with 0 additions and 5 deletions.
  1. +0 −5 lib/sprockets/server.rb
View
5 lib/sprockets/server.rb
@@ -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(/^\//, ''))

0 comments on commit 5620203

Please sign in to comment.
Something went wrong with that request. Please try again.