annotate config/initializers/cookies_serializer.rb @ 88:cf9a9ce2d034

Increase cache timeout to ease up load ;_;
author nanaya <me@myconan.net>
date Tue, 28 Jun 2016 02:38:27 +0900
parents 257910c60eb3
children d5a0d66ee457
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
72
257910c60eb3 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
1 # Be sure to restart your server when you modify this file.
257910c60eb3 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
2
257910c60eb3 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
3 # Specify a serializer for the signed and encrypted cookie jars.
257910c60eb3 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
4 # Valid options are :json, :marshal, and :hybrid.
257910c60eb3 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
5 Rails.application.config.action_dispatch.cookies_serializer = :marshal