-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathgenerate404_pages.yaml
27 lines (27 loc) · 1.62 KB
/
generate404_pages.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
questions:
-
uuid: 1eebf878-8ba0-64cc-8d7c-99d84c92580c
question: 'To override the 404 error template for HTML page, how should you name the template ?'
answers:
- { value: error404.html.twig, correct: true }
- { value: 404.html.twig, correct: false }
- { value: twig.404.html.twig, correct: false }
help: 'https://symfony.com/doc/current/controller/error_pages.html#overriding-the-default-error-templates'
-
uuid: 1eebf878-8ba4-65f4-a1e9-99d84c92580c
question: 'Which file would you create to customize Error Page 404 ?'
answers:
- { value: templates/TwigBundle/Exception/error404.html.twig, correct: false }
- { value: templates/bundles/TwigBundle/Exception/error404.html.twig, correct: true }
- { value: templates/bundles/TwigBundle/Exception/404error.html.twig, correct: false }
- { value: templates/TwigBundle/Exception/404error.html.twig, correct: false }
- { value: templates/bundles/TwigBundle/Exception/error.html.twig, correct: false }
- { value: templates/TwigBundle/Exception/error.html.twig, correct: false }
help: 'https://symfony.com/doc/current/controller/error_pages.html#overriding-the-default-error-templates'
-
uuid: 1eebf878-8ba7-6902-9ed6-99d84c92580c
question: 'While overriding twig error page, which of error.html.twig and error500.html.twig will be rendered if there is a 403 status code in the response ?'
answers:
- { value: error500.html.twig, correct: false }
- { value: error.html.twig, correct: true }
help: 'https://symfony.com/doc/current/controller/error_pages.html#overriding-the-default-error-templates'