generators/devise_install/templates/devise.rb in devise-0.5.2 vs generators/devise_install/templates/devise.rb in devise-0.5.3
- old
+ new
@@ -1,7 +1,12 @@
# Use this hook to configure devise mailer, warden hooks and so forth. The first
# four configuration values can also be set straight in your models.
Devise.setup do |config|
+ # Configure the frameworks used by default. You should always set this value
+ # because if Devise add a new strategy, it won't be added to your application
+ # by default, unless you configure it here.
+ config.all = <%= Devise::ALL.inspect %>
+
# Invoke `rake secret` and use the printed value to setup a pepper to generate
# the encrypted password. By default no pepper is used.
# config.pepper = "rake secret output"
# Configure how many times you want the password is reencrypted. Default is 10.