Created new dashboard index

*Added js for logging out button
*WIP
This commit is contained in:
Jason Denney
2014-01-18 15:16:23 -05:00
parent a84b0e0fe7
commit ecb5083f1c
2 changed files with 30 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
$("#index_logout").click(function(){
$.ajax({
type: "DELETE",
url: $("#index_logout").data("url"),
complete: function(){
window.location.href="/";
}
});
});