forked from efficience-it/certification-symfony
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrigger_redirects.yaml
19 lines (19 loc) · 1022 Bytes
/
trigger_redirects.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
questions:
-
uuid: 1eebf878-8ba8-61ae-8eec-99d84c92580c
question: 'What is the directory where the RedirectController is located ?'
answers:
- { value: Sensio\Bundle\FrameworkBundle\Controller\RedirectController, correct: false }
- { value: Symfony\Bundle\FrameworkBundle\Controller\RedirectController, correct: true }
- { value: Symfony\FrameworkBundle\Controller\RedirectController, correct: false }
help: 'https://symfony.com/doc/current/routing.html#redirecting-to-urls-and-routes-directly-from-a-route'
-
uuid: 1eebf878-8ba8-61fe-9ece-99d84c92580c
question: 'In routing.yaml, what keyword is used to define a redirection in the defaults section?'
answers:
- { value: path, correct: true }
- { value: custom_path, correct: false }
- { value: route, correct: true }
- { value: page, correct: false }
- { value: url, correct: false }
help: 'https://symfony.com/doc/6.4/routing.html#redirecting-to-urls-and-routes-directly-from-a-route'