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 41b71d4 commit b506243Copy full SHA for b506243
routing/generate_url_javascript.rst
@@ -16,7 +16,7 @@ variables. The ``escape`` function helps escape any non-JavaScript-safe values:
16
17
<script>
18
var route = "<?php echo $view->escape(
19
- $view['router']->path('blow_show', array(
+ $view['router']->generate('blog_show', array(
20
'slug' => 'my-blog-post',
21
)),
22
'js'
0 commit comments