File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ To use this feature, you need to have a definition in your
191191 $collection->addCollection(
192192 $loader->import('@TwigBundle/Resources/config/routing/errors.xml')
193193 );
194- $collection->addPrefix("/error ");
194+ $collection->addPrefix("/_error ");
195195
196196 return $collection;
197197
@@ -326,7 +326,7 @@ another page or rendering specialized error pages.
326326
327327 If your listener calls ``setResponse() `` on the
328328 :class: `Symfony\\ Component\\ HttpKernel\\ Event\\ GetResponseForExceptionEvent `,
329- event propagation will be stopped and the response will be sent to
329+ event propagation will be stopped and the response will be sent to
330330 the client.
331331
332332This approach allows you to create centralized and layered error
@@ -338,7 +338,7 @@ several) listeners deal with them.
338338
339339 To see an example, have a look at the `ExceptionListener `_ in the
340340 Security Component.
341-
341+
342342 It handles various security-related exceptions that are thrown in
343343 your application (like :class: `Symfony\\ Component\\ Security\\ Core\\ Exception\\ AccessDeniedException `)
344344 and takes measures like redirecting the user to the login page,
You can’t perform that action at this time.
0 commit comments