# HG changeset patch # User Edho Arief # Date 1367939382 -32400 # Node ID ea90c0a58b407469db21ce61bd310567e6fa3d97 # Parent f513b1ca455a5c0c71cd35a2dd457ca5c904c87a Add back the secret_token because of :reasons: diff -r f513b1ca455a -r ea90c0a58b40 config/initializers/secret_token.rb --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/initializers/secret_token.rb Wed May 08 00:09:42 2013 +0900 @@ -0,0 +1,1 @@ +Zeropaste::Application.config.secret_token = CONFIG['secret_token'] diff -r f513b1ca455a -r ea90c0a58b40 config/local_config.rb.example --- a/config/local_config.rb.example Wed May 08 00:08:33 2013 +0900 +++ b/config/local_config.rb.example Wed May 08 00:09:42 2013 +0900 @@ -1,3 +1,7 @@ +# Required: generate with `bundle exec secret` +# +# CONFIG['secret_token'] = 'FILL_IN_HERE' + # Set to false if you want to use different web server (e.g. passenger) # Default is set to use standalone server: # - MRI Ruby: Unicorn