All required env settings are now checkeda and depricated APP_CONFIG

This commit is contained in:
Priit Tark 2015-02-27 16:46:52 +02:00
parent e238760cef
commit 54b5394196
14 changed files with 61 additions and 47 deletions

View file

@ -4,7 +4,7 @@ Devise.setup do |config|
# The secret key used by Devise. Devise uses this key to generate
# random tokens. Changing this key will render invalid all existing
# confirmation, reset password and unlock tokens in the database.
config.secret_key = APP_CONFIG['devise_secret']
config.secret_key = ENV['devise_secret']
# ==> Mailer Configuration
# Configure the e-mail address which will be shown in Devise::Mailer,