diff --git a/public/assets/js/bootstrap-table.js b/public/assets/js/bootstrap-table.js
index f8715e9c4..1c891bbc5 100755
--- a/public/assets/js/bootstrap-table.js
+++ b/public/assets/js/bootstrap-table.js
@@ -254,7 +254,11 @@
cache: true,
contentType: 'application/json',
dataType: 'json',
- ajaxOptions: {},
+ ajaxOptions: {
+ headers: {
+ 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
+ }
+ },
queryParams: function (params) {
return params;
},
diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php
index 54928b819..157719889 100644
--- a/resources/views/layouts/default.blade.php
+++ b/resources/views/layouts/default.blade.php
@@ -25,9 +25,7 @@
-
+