summaryrefslogtreecommitdiff
path: root/config/initializers
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-07-11 17:01:02 -0700
committerelijah <elijah@riseup.net>2013-07-11 17:01:02 -0700
commitb6b336d9f96c0618885b587ebb2b4d85a9381afb (patch)
tree71da656eb4ed51715e1f13639befdf62f0009d87 /config/initializers
parent1f77c345783bf197be183b2e5025f875c0eac882 (diff)
config - add force_ssl to config, add configuration notes to README.md
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/secret_token.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/initializers/secret_token.rb b/config/initializers/secret_token.rb
index c4e1e6d..bdd9b1c 100644
--- a/config/initializers/secret_token.rb
+++ b/config/initializers/secret_token.rb
@@ -5,8 +5,8 @@
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
-if token = APP_CONFIG['secret_token']
+if token = APP_CONFIG[:secret_token]
LeapWeb::Application.config.secret_token = token
else
- raise StandartError.new("No secret_token defined in config/config.yml - please provide one.")
+ raise StandardError.new("No secret_token defined in config/config.yml - please provide one.")
end