Skip to content

Instantly share code, notes, and snippets.

@czarneckid
Created September 22, 2010 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save czarneckid/592330 to your computer and use it in GitHub Desktop.
Save czarneckid/592330 to your computer and use it in GitHub Desktop.
@czarneckid
Copy link
Author

Add the following in config/environment.rb:

insert middleware to strip Set-Cookie response headers for requests

require 'lib/agora/cookie_monster'
config.middleware.insert_before(ActionController::Session::CookieStore, Agora::CookieMonster)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment