wblog/config/initializers/cookies_serializer.rb

6 lines
244 B
Ruby
Raw Permalink Normal View History

2017-04-30 19:48:31 +08:00
# Be sure to restart your server when you modify this file.
# Specify a serializer for the signed and encrypted cookie jars.
# Valid options are :json, :marshal, and :hybrid.
2018-05-19 15:09:22 +08:00
Rails.application.config.action_dispatch.cookies_serializer = :json