From ef69fc7cebb101d45132c4f8c9a5433c523d4bec Mon Sep 17 00:00:00 2001 From: Seth Call Date: Fri, 6 Sep 2013 13:10:28 +0000 Subject: [PATCH] * fixing jam-admin build; devise went to 3.1.0 and wants a config.secret in the initializer --- config/initializers/devise.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 5b0ec220a..0858d572b 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -6,6 +6,8 @@ Devise.setup do |config| # note that it will be overwritten if you use your own mailer class with default "from" parameter. config.mailer_sender = "please-change-me-at-config-initializers-devise@example.com" + config.secret_key = '19569035c21af920ad2f124c3e7f26016f0aa5f5ce83e44a32e5a76adabf65d0d4e2c360bb44ff0b8660228843cfae8d74faa878aa328aefe849aaad3ff4bed3' + # Configure the class responsible to send e-mails. # config.mailer = "Devise::Mailer" @@ -229,4 +231,4 @@ Devise.setup do |config| # When using omniauth, Devise cannot automatically set Omniauth path, # so you need to do it manually. For the users scope, it would be: # config.omniauth_path_prefix = "/my_engine/users/auth" -end \ No newline at end of file +end