changeset 199:ea90c0a58b40

Add back the secret_token because of :reasons:
author Edho Arief <edho@myconan.net>
date Wed, 08 May 2013 00:09:42 +0900
parents f513b1ca455a
children 2d9d54b960de
files config/initializers/secret_token.rb config/local_config.rb.example
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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']
--- 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