marlonpd
1/23/2018 - 5:36 PM

//place in main js file containing vue

//place in main js file containing vue


Vue.http.interceptors.push(function (request, next) {
  request.headers['X-CSRF-TOKEN'] = Laravel.csrfToken;
  next();
});