remove turbolink in backend and update logout

This commit is contained in:
Yan
2017-10-30 18:51:05 +06:30
parent da0558b5ef
commit 35161aae91
5 changed files with 7 additions and 5 deletions

View File

@@ -38,8 +38,10 @@ $(document).ready(function() {
type: method,
url: url ,
success: function(data) {
// console.log(data.url);
location.href = data.url;
}
});
});
} else {
swal("Cancelled", "Your imaginary file is safe :)", "error");
}

View File

@@ -15,6 +15,5 @@
//= require tether
//= require bootstrap/js/popper.min
//= require bootstrap/js/bootstrap-material-design.min
//= require turbolinks
//= require node-waves/waves.js
//= require BSBMaterial/admin.js