Skip to content

Commit 67993da

Browse files
committed
minor #3069 Fix Route PHP attribute in Vue Router Web History mode (michael-bouvy)
This PR was merged into the 2.x branch. Discussion ---------- Fix Route PHP attribute in Vue Router Web History mode | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | yes | License | MIT Tiny PHP attribute fix in Vue Router Web History mode code sample. Commits ------- 2b02517 Fix Route PHP attribute in Vue Router Web History mode
2 parents 3088f22 + 2b02517 commit 67993da

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)