diff --git a/docs/routing.md b/docs/routing.md index 1ed5b93..7aad036 100644 --- a/docs/routing.md +++ b/docs/routing.md @@ -136,7 +136,7 @@ class YourCacheEngine(CacheEngine): @app.route('/', cache=YourCacheEngine(skip_hooks=True)) -def home(): +async def home(): return Response(b'Hello World') ```