Witam wszystkich
w Laravel 5, otrzymałem komunikat TokenMismatchException wówczas do /app/Exceptions/Handler w metodzie *render *dopisałem warunek if:
public function render($request, Exception $exception)
{
if ($exception instanceof \Illuminate\Session\TokenMismatchException) {
return response()->view('index')->withFlashDanger('You page session expired. Please try again');;
}
return parent::render($request, $exception);
}
po tym jednak otrzymałem kolejny komunikat:
InvalidArgumentException in FileViewFinder.php line 137:
View [auth.register] not found.
Ktoś pomoże ?