sign out no longer requires http delete, can open up in new window
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user