all: update remaining deprecated attr syntax (#19908)

This commit is contained in:
Turiiya 2023-11-17 11:03:51 +01:00 committed by GitHub
parent 709976f42e
commit b347f546f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 64 additions and 64 deletions

View file

@ -142,7 +142,7 @@ fn new_app() &App {
return app
}
['/'; get]
@['/'; get]
pub fn (mut app App) controller_get_all_task() vweb.Result {
file := os.read_file('./index.html') or { panic(err) }
return app.html(file)