diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php
index 2a254be8..934f9d62 100644
--- a/resources/views/layouts/master.blade.php
+++ b/resources/views/layouts/master.blade.php
@@ -24,6 +24,7 @@
+
@yield('top')
@@ -150,6 +151,11 @@
(function ($) {
$(function () {
$.jGrowl.defaults.closerTemplate = 'Close All
';
+ $.ajaxSetup({
+ headers: {
+ 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
+ }
+ });
});
})(jQuery);
diff --git a/resources/views/modpack/view.blade.php b/resources/views/modpack/view.blade.php
index 01727d98..aa7d850e 100644
--- a/resources/views/modpack/view.blade.php
+++ b/resources/views/modpack/view.blade.php
@@ -93,7 +93,6 @@ class="btn btn-danger btn-xs"
@endsection
@section('bottom')
@endsection