sign out no longer requires http delete, can open up in new window

This commit is contained in:
albert
2013-02-23 11:01:33 -05:00
parent dbdbdd2337
commit e7da9b2a37
3 changed files with 10 additions and 2 deletions

View File

@@ -19,4 +19,8 @@ class SessionsController < ApplicationController
cookies.delete(:user_name)
redirect_to(posts_path, :notice => "You are now logged out.")
end
def sign_out
destroy()
end
end