1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #19735 from Dan-Burnette/fixSecretKeyBaseErrorMessage

Error message no longer tells you to set the (deprecated) secret_token.
This commit is contained in:
Godfrey Chan 2015-04-12 10:04:16 -07:00
commit 4825042a1c

View file

@ -511,7 +511,7 @@ module Rails
"Read the upgrade documentation to learn more about this new config option."
if secrets.secret_token.blank?
raise "Missing `secret_token` and `secret_key_base` for '#{Rails.env}' environment, set these values in `config/secrets.yml`"
raise "Missing `secret_key_base` for '#{Rails.env}' environment, set this value in `config/secrets.yml`"
end
end
end