我已将以下文件放入
/app/Resources/TwigBundle/views/Exception
error.html.twig, error.json.twig , error403.json.twig, error404.json.twig
但我仍然无法获得这些模板
我希望它用于拒绝访问异常
Token does not have the required roles.
403 Forbidden - AccessDeniedHttpException
1 linked Exception:
AccessDeniedException »