fullUrl())->with('error', trans('validation.csrf')); } elseif ($e instanceof ValidationFailedException) { return redirect() ->back() ->withInput() ->withErrors($e->getValidator()); } return parent::render($request, $e); } }