Commit 072fd99f

mo khan <mo@mokhan.ca>
2014-11-27 05:44:40
delete the session after revoking the session.
1 parent 4d6013b
Changed files (1)
app
app/controllers/sessions_controller.rb
@@ -15,8 +15,8 @@ class SessionsController < ApplicationController
   end
 
   def destroy
-    cookies.delete(:raphael)
     user_session.revoke!
+    cookies.delete(:raphael)
     redirect_to root_path
   end