SL
Size: a a a
SL
В
D
В
В
s
В
D
АК
A
С
AB
С
I
АМ
EG
/**
* Render an exception into an HTTP response.
*
* @param \Illuminate\Http\Request $request
* @param \Throwable $exception
* @return \Symfony\Component\HttpFoundation\Response
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
if($exception instanceof TokenMismatchException) {
return redirect('/');
}
return parent::render($request, $exception);
}
С
/**
* Render an exception into an HTTP response.
*
* @param \Illuminate\Http\Request $request
* @param \Throwable $exception
* @return \Symfony\Component\HttpFoundation\Response
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
if($exception instanceof TokenMismatchException) {
return redirect('/');
}
return parent::render($request, $exception);
}
A
A
AO