generators/devise_install/templates/devise.rb in devise-0.9.2 vs generators/devise_install/templates/devise.rb in devise-1.0.0
- old
+ new
@@ -24,10 +24,13 @@
# authenticating an user, both parameters are required. Remember that those
# parameters are used only when authenticating and not when retrieving from
# session. If you need permissions, you should implement that in a before filter.
# config.authentication_keys = [ :email ]
+ # The realm used in Http Basic Authentication
+ # config.http_authentication_realm = "Application"
+
# ==> Configuration for :confirmable
# The time you want give to your user to confirm his account. During this time
# he will be able to access your application without confirming. Default is nil.
# config.confirm_within = 2.days
@@ -91,10 +94,9 @@
# manager.default_strategies.unshift :twitter_oauth
# end
# Configure default_url_options if you are using dynamic segments in :path_prefix
# for devise_for.
- #
# config.default_url_options do
# { :locale => I18n.locale }
# end
end