diff --git a/Sources/App/routes.swift b/Sources/App/routes.swift index 38a176b..2c87a32 100644 --- a/Sources/App/routes.swift +++ b/Sources/App/routes.swift @@ -4,7 +4,7 @@ func routes(_ app: Application) throws { {{#leaf}}app.get { req async throws in try await req.view.render("index", ["title": "Hello Vapor!"]) - }{{/leaf}}{{^leaf}}app.get { req async in + }{{/leaf}}{{^leaf}} app.get { req async in "It works!" }{{/leaf}}