Unverified Commit e702284a authored by azul's avatar azul
Browse files

use hybrid Cookies serializer

Slowly migrate towards the json one.
parent 470787d3
......@@ -51,6 +51,8 @@ module Crabgrass
# store fragments on disk, we might have a lot of them.
config.action_controller.cache_store = :file_store, CACHE_DIRECTORY
# use the new json based cookies.
config.action_dispatch.cookies_serializer = :hybrid
# add our custom error classes
config.action_dispatch.rescue_responses.merge!(
'ErrorNotFound' => :not_found,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment