annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
431
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
1 # Be sure to restart your server when you modify this file.
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
2
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
3 # Specify a serializer for the signed and encrypted cookie jars.
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
4 # Valid options are :json, :marshal, and :hybrid.
459
07d6c6639adf Upgrade to rails 5.2. RIP code style.
nanaya <me@nanaya.pro>
parents: 440
diff changeset
5 Rails.application.config.action_dispatch.cookies_serializer = :json