Error message no longer tells you to set the (deprecated) secret_token.

This commit is contained in:
Dan 2015-04-12 10:49:43 -05:00
parent efaec3dd63
commit b93ae0cd56

@ -511,7 +511,7 @@ def validate_secret_key_config! #:nodoc:
"Read the upgrade documentation to learn more about this new config option." "Read the upgrade documentation to learn more about this new config option."
if secrets.secret_token.blank? 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 end
end end