File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Original file line number Diff line number Diff line change @@ -28,10 +28,13 @@ Your configuration will look like this:
28
28
29
29
Your ``AppBundle `` is registered to handle all requests under ``/app ``.
30
30
31
- We configure a route for the ``/ `` path and let :class: `Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ RedirectController ` handle it.
32
- This controller is builtin and offers two methods for redirecting request:
31
+ We configure a route for the ``/ `` path and let :class: `Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ RedirectController `
32
+ handle it. This controller is built-in and offers two methods for redirecting request:
33
33
34
- * ``redirect `` redirects to another *route *. You must provide the ``route `` parameter with the *name * of the route you want to redirect to.
35
- * ``urlRedirect `` redirects to another *path *. You must provide the ``path `` parameter containing the path of the resource you want to redirect to.
34
+ * ``redirect `` redirects to another *route *. You must provide the ``route ``
35
+ parameter with the *name * of the route you want to redirect to.
36
+
37
+ * ``urlRedirect `` redirects to another *path *. You must provide the ``path ``
38
+ parameter containing the path of the resource you want to redirect to.
36
39
37
40
The ``permanent `` switch tells both methods to issue a 301 HTTP status code.
You can’t perform that action at this time.
0 commit comments