From f13334378891a89d2f0d7152e114ce708b341075 Mon Sep 17 00:00:00 2001 From: gherghett <145233374+gherghett@users.noreply.github.com> Date: Tue, 22 Oct 2024 16:23:28 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f6b00a8..d372d6e 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Supra-api-nodejs its about monolith first approach. But this does not prevent yo ### 1. Controller layer Each entity have own controller class it slim layer representing resource mapping(routing) -``` +```js class PostsController extends BaseController { static get router () { router.get('/', this.actionRunner(actions.ListAction))