We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 873706c commit 007a54fCopy full SHA for 007a54f
book/routing.rst
@@ -1237,7 +1237,7 @@ By default, the router will generate relative URLs (e.g. ``/blog``). From
1237
a controller, simply pass ``true`` to the third argument of the ``generateUrl()``
1238
method::
1239
1240
- $this->getgenerateUrl('blog_show', array('slug' => 'my-blog-post'), true);
+ $this->generateUrl('blog_show', array('slug' => 'my-blog-post'), true);
1241
// http://www.example.com/blog/my-blog-post
1242
1243
From a template, it looks like this:
0 commit comments