documentation/config/initializers/cookies_serializer.rb

6 lines
244 B
Ruby
Raw Normal View History

2016-02-20 22:53:20 +01:00
# Be sure to restart your server when you modify this file.
2016-08-17 17:56:23 +02:00
# Specify a serializer for the signed and encrypted cookie jars.
# Valid options are :json, :marshal, and :hybrid.
2016-02-20 22:53:20 +01:00
Rails.application.config.action_dispatch.cookies_serializer = :json