From adb127bb3e3b334cba903db2c21710e8c41c2b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Mon, 27 Jun 2011 12:15:23 -0300 Subject: [PATCH] Default to delete on new templates. --- lib/generators/templates/devise.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/generators/templates/devise.rb b/lib/generators/templates/devise.rb index 64010e08..9aa35d2d 100644 --- a/lib/generators/templates/devise.rb +++ b/lib/generators/templates/devise.rb @@ -184,8 +184,8 @@ Devise.setup do |config| # Explorer requests. # config.navigational_formats = [:"*/*", "*/*", :html] - # The default HTTP method used to sign out a resource. Default is :get. - # config.sign_out_via = :get + # The default HTTP method used to sign out a resource. Default is :delete. + config.sign_out_via = :delete # ==> OmniAuth # Add a new OmniAuth provider. Check the wiki for more information on setting