Mercurial > zeropaste
comparison config/initializers/cookies_serializer.rb @ 459:07d6c6639adf
Upgrade to rails 5.2. RIP code style.
author | nanaya <me@nanaya.pro> |
---|---|
date | Sat, 14 Apr 2018 04:19:52 +0900 |
parents | f4612faedb9e |
children |
comparison
equal
deleted
inserted
replaced
458:1c6a056269e6 | 459:07d6c6639adf |
---|---|
1 # Be sure to restart your server when you modify this file. | 1 # Be sure to restart your server when you modify this file. |
2 | 2 |
3 # Specify a serializer for the signed and encrypted cookie jars. | 3 # Specify a serializer for the signed and encrypted cookie jars. |
4 # Valid options are :json, :marshal, and :hybrid. | 4 # Valid options are :json, :marshal, and :hybrid. |
5 Rails.application.config.action_dispatch.cookies_serializer = :hybrid | 5 Rails.application.config.action_dispatch.cookies_serializer = :json |