Skip to content

Commit 799a2b0

Browse files
committed
minor #108 fix another bug due to choosing the wrong branch (xabbuh)
This PR was merged into the 2.7 branch. Discussion ---------- fix another bug due to choosing the wrong branch Commits ------- b506243 fix another bug due to choosing the wrong branch
2 parents 41b71d4 + b506243 commit 799a2b0

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)