Skip to content

Commit 6656856

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: fix another bug due to choosing the wrong branch
2 parents 5cef790 + 799a2b0 commit 6656856

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)