chinwagsocial/config/initializers/cookies_serializer.rb

8 lines
275 B
Ruby
Raw Permalink Normal View History

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