From ba41ab8f67e484b8ea5bda2dd91603aba1dcec93 Mon Sep 17 00:00:00 2001 From: Jing Su Date: Mon, 13 Mar 2017 18:36:22 +0800 Subject: [PATCH] fix typo --- docs/sanic/blueprints.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sanic/blueprints.md b/docs/sanic/blueprints.md index d1338023..4b704422 100644 --- a/docs/sanic/blueprints.md +++ b/docs/sanic/blueprints.md @@ -57,7 +57,7 @@ Blueprints have much the same functionality as an application instance. ### WebSocket routes -WebSocket handlers can be registered on a blueprint using the `@bp.route` +WebSocket handlers can be registered on a blueprint using the `@bp.websocket` decorator or `bp.add_websocket_route` method. ### Middleware