Phạm Quang Bình
Phạm Quang Bình
Dear, I created a middleware ```js 'use strict' class CustomMiddleware { // for HTTP async handle (ctx, next) { // no call next() function() } // for WebSocket async wsHandle...
Dear, I do the example follow: https://adonisjs.com/docs/4.1/websocket-server#_creating_middleware, and I modify some code like bellow ```js 'use strict' class CustomMiddleware { // for HTTP async handle (ctx, next) { } //...
``` /** * Includes another, partial, template * * Example: * * {% include 'foo' %} * * Will include the template called 'foo' * * {% include 'foo' with...
If I use for with "deep variable", the for loop working incorrect. Example ``` {% for product in collections[13].products %} {{ product.id }}: {{ product.title }} {% endfor %} ```...