forgeplus/config/initializers/cookies_serializer.rb

6 lines
252 B
Ruby
Raw Normal View History

2020-03-09 00:40:16 +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.
Rails.application.config.action_dispatch.cookies_serializer = :marshal