Created
May 6, 2014 14:24
-
-
Save nkwhr/7fc444d3cac3d0a7a6f6 to your computer and use it in GitHub Desktop.
Rack middleware for deleting 'Set-Cookie' headers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module MyApp | |
class Application < Rails::Application | |
config.autoload_paths += %W(#{config.root}/lib) | |
config.middleware.insert_before ActionDispatch::Cookies, "CookieFilter" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment