@@ -1169,11 +1169,11 @@ each separated by a colon:
11691169
11701170For example, a ``_controller `` value of ``AppBundle:Blog:show `` means:
11711171
1172- ========= ================== ==============
1173- Bundle Controller Class Method Name
1174- ========= ================== ==============
1175- AppBundle ``BlogController `` ``showAction ``
1176- ========= ================== ==============
1172+ ============= ================== ==============
1173+ Bundle Controller Class Method Name
1174+ ============= ================== ==============
1175+ `` AppBundle `` ``BlogController `` ``showAction ``
1176+ ============= ================== ==============
11771177
11781178The controller might look like this::
11791179
@@ -1471,7 +1471,7 @@ system. Take the ``blog_show`` example route from earlier::
14711471 // /blog/my-blog-post
14721472
14731473To generate a URL, you need to specify the name of the route (e.g. ``blog_show ``)
1474- and any wildcards (e.g. ``slug = my-blog-post ``) used in the path for that
1474+ and any wildcards (e.g. ``slug `` = `` my-blog-post ``) used in the path for that
14751475route. With this information, any URL can easily be generated::
14761476
14771477 class MainController extends Controller
@@ -1510,7 +1510,7 @@ In an upcoming section, you'll learn how to generate URLs from inside templates.
15101510
15111511 var url = Routing .generate (
15121512 ' blog_show' ,
1513- {" slug" : ' my-blog-post' }
1513+ {' slug' : ' my-blog-post' }
15141514 );
15151515
15161516 For more information, see the documentation for that bundle.
@@ -1577,6 +1577,8 @@ a template helper function:
15771577 ) ?>";
15781578 </script>
15791579
1580+ The ``path() `` method generates relative URLs.
1581+
15801582.. index ::
15811583 single: Routing; Absolute URLs
15821584
0 commit comments