aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2015-12-18 23:41:41 -0500
committerGuillermo Iguaran <guilleiguaran@gmail.com>2015-12-18 23:41:41 -0500
commit5bac8c6c223033b0fe7a2869b6928faf931c67e9 (patch)
tree66b3a462eaa290cf96d03746ef04f16cb49241d4 /railties
parent1611ab4db173a7596a7a94c58dabf1483f070304 (diff)
parent7e21a7d9d4e89feac0cf896ade9ed13e3a51e810 (diff)
downloadrails-5bac8c6c223033b0fe7a2869b6928faf931c67e9.tar.gz
rails-5bac8c6c223033b0fe7a2869b6928faf931c67e9.tar.bz2
rails-5bac8c6c223033b0fe7a2869b6928faf931c67e9.zip
Merge pull request #22688 from claudiob/doc-cookie-serializer
Explain what initializer/config_serializer does
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/initializers/cookies_serializer.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/initializers/cookies_serializer.rb b/railties/lib/rails/generators/rails/app/templates/config/initializers/cookies_serializer.rb
index 7f70458dee..5a6a32d371 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/initializers/cookies_serializer.rb
+++ b/railties/lib/rails/generators/rails/app/templates/config/initializers/cookies_serializer.rb
@@ -1,3 +1,5 @@
# 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 = :json