Please sign in to comment.
Added cookies.permanent, cookies.signed, and cookies.permanent.signed…
… accessor for common cookie actions [DHH]
- Loading branch information...
Showing with 158 additions and 1 deletion.
|@@ -0,0 +1,7 @@|
|+# Be sure to restart your server when you modify this file.|
|+# Your secret key for verifying the integrity of signed cookies.|
|+# If you change this key, all old signed cookies will become invalid!|
|+# Make sure the secret is at least 30 characters and all random,|
|+# no regular words or you'll be exposed to dictionary attacks.|
|+ActionController::Base.cookie_verification_secret = '<%= app_secret %>';|