Skip to content

Commit b506243

Browse files
committed
fix another bug due to choosing the wrong branch
1 parent 41b71d4 commit b506243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routing/generate_url_javascript.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ variables. The ``escape`` function helps escape any non-JavaScript-safe values:
1616

1717
<script>
1818
var route = "<?php echo $view->escape(
19-
$view['router']->path('blow_show', array(
19+
$view['router']->generate('blog_show', array(
2020
'slug' => 'my-blog-post',
2121
)),
2222
'js'

0 commit comments

Comments
 (0)