lib/devise/rails/routes.rb in devise-3.1.0 vs lib/devise/rails/routes.rb in devise-3.1.1
- old
+ new
@@ -440,9 +440,10 @@
raise <<-ERROR
Devise.secret_key was not set. Please add the following to your Devise initializer:
config.secret_key = '#{SecureRandom.hex(64)}'
+Please ensure you restarted your application after installing Devise or setting the key.
ERROR
end
def raise_no_devise_method_error!(klass) #:nodoc:
raise "#{klass} does not respond to 'devise' method. This usually means you haven't " \