aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_controller_overview.md
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2012-11-02 20:27:51 -0200
committerSantiago Pastorino <santiago@wyeworks.com>2012-11-03 14:57:54 -0200
commit4faa0418453055bc81456685d418d486252cc379 (patch)
treeacf0453393b953c6fd4c2145ef70ded6c9baeb05 /guides/source/action_controller_overview.md
parentc2a7956eb7fbc099ea38d21601d215ab3def27fb (diff)
downloadrails-4faa0418453055bc81456685d418d486252cc379.tar.gz
rails-4faa0418453055bc81456685d418d486252cc379.tar.bz2
rails-4faa0418453055bc81456685d418d486252cc379.zip
Rename secret_token_key to secret_key_base
Diffstat (limited to 'guides/source/action_controller_overview.md')
-rw-r--r--guides/source/action_controller_overview.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_controller_overview.md b/guides/source/action_controller_overview.md
index d5d74ca3f5..5be2991c4a 100644
--- a/guides/source/action_controller_overview.md
+++ b/guides/source/action_controller_overview.md
@@ -219,7 +219,7 @@ Rails sets up (for the CookieStore) a secret key used for signing the session da
# 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.
-YourApp::Application.config.secret_token_key = '49d3f3de9ed86c74b94ad6bd0...'
+YourApp::Application.config.secret_key_base = '49d3f3de9ed86c74b94ad6bd0...'
```
NOTE: Changing the secret when using the `CookieStore` will invalidate all existing sessions.