started work on #2082

This commit is contained in:
Julian Lam
2014-09-14 10:21:32 -04:00
parent 3360752c5c
commit 40e5ad075f
11 changed files with 24 additions and 29 deletions

View File

@@ -161,9 +161,7 @@ var socket,
};
app.logout = function() {
$.post(RELATIVE_PATH + '/logout', {
_csrf: $('#csrf_token').val()
}, function() {
$.post(RELATIVE_PATH + '/logout', function() {
window.location.href = RELATIVE_PATH + '/';
});
};