Simple Render html

URL : http://localhost:5151/doc/demo/html/nodefony


module.exports = {
"documentation-demo": {
  pattern: "/doc/demo/html/{name}",
  defaults: {
    controller: "documentation-bundle:demo:html",
    name:	"nodefony"
  }
}
};
          

class demoController extends nodefony.Controller {

constructor(container, context) {
super(container, context);
}

/**
*	@method htmlAction
*/
htmlAction(name) {
return this.renderResponse('<h1>' + name + '</h1>');
}
}
{{render( controller( "documentation-bundle:demo:html", "nodefony") ) }}