diff --git a/README.md b/README.md index fdb2263..32e8ea0 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,7 @@ from django_routify import Router router = Router('/app', 'app', auto_trailing_slash=True) -# or @router.get('/hello-world') -@router.route('/hello-world', methods=['GET']) +@router.route('/hello-world', methods=['GET']) # or @router.get('/hello-world') def hello_world(request: HttpRequest) -> HttpResponse: return HttpResponse('Hello World!') ```