mirror of
https://github.com/vlang/v.git
synced 2025-09-10 07:47:20 -04:00
veb: fix readme typo (#24645)
This commit is contained in:
parent
55d004e310
commit
dbc4071f6f
@ -175,7 +175,7 @@ pub fn (app &App) hello_user(mut ctx Context, user string) veb.Result {
|
|||||||
vv
|
vv
|
||||||
@['/document/:id'] vv
|
@['/document/:id'] vv
|
||||||
pub fn (app &App) get_document(mut ctx Context, id int) veb.Result {
|
pub fn (app &App) get_document(mut ctx Context, id int) veb.Result {
|
||||||
return ctx.text('Hello ${user}')
|
return ctx.text('Document ${id}')
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user