Skip to content

Commit 2b02517

Browse files
Fix Route PHP attribute in Vue Router Web History mode
1 parent 15e2163 commit 2b02517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Vue/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Web History mode with Vue Router
141141
To use "web" history mode with Vue Router, a catch-all route will be needed
142142
which should render the same template and Vue component::
143143

144-
#Route('/survey/{path<.+>}')
144+
#[Route('/survey/{path<.+>}')]
145145
public function survey($path = ''): Response
146146
{
147147
// render the template

0 commit comments

Comments
 (0)