mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
Created new dashboard index
*Added js for logging out button *WIP
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
$("#index_logout").click(function(){
|
||||
$.ajax({
|
||||
type: "DELETE",
|
||||
url: $("#index_logout").data("url"),
|
||||
complete: function(){
|
||||
window.location.href="/";
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user