Mercurial > zeropaste
diff 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 |
line wrap: on
line diff
--- a/config/initializers/cookies_serializer.rb Sat Apr 14 04:19:29 2018 +0900 +++ b/config/initializers/cookies_serializer.rb Sat Apr 14 04:19:52 2018 +0900 @@ -2,4 +2,4 @@ # Specify a serializer for the signed and encrypted cookie jars. # Valid options are :json, :marshal, and :hybrid. -Rails.application.config.action_dispatch.cookies_serializer = :hybrid +Rails.application.config.action_dispatch.cookies_serializer = :json