changeset 206:b14c688e1595

Whoops, turned out to be secret_key_base for 4.0.
author Edho Arief <edho@myconan.net>
date Wed, 08 May 2013 01:26:28 +0900
parents 10f1eb74e6d7
children ee7829c7c2a2
files config/initializers/secret_token.rb config/local_config.rb.example
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/config/initializers/secret_token.rb	Wed May 08 01:18:22 2013 +0900
+++ b/config/initializers/secret_token.rb	Wed May 08 01:26:28 2013 +0900
@@ -1,1 +1,1 @@
-Zeropaste::Application.config.secret_token = CONFIG['secret_token']
+Zeropaste::Application.config.secret_key_base = CONFIG['secret_key']
--- a/config/local_config.rb.example	Wed May 08 01:18:22 2013 +0900
+++ b/config/local_config.rb.example	Wed May 08 01:26:28 2013 +0900
@@ -1,6 +1,6 @@
 # Required: generate with `bundle exec secret`
 #
-# CONFIG['secret_token'] = 'FILL_IN_HERE'
+# CONFIG['secret_key'] = 'FILL_IN_HERE'
 
 # Set to false if you want to use different web server (e.g. passenger)
 # Default is set to use standalone server: