-
Notifications
You must be signed in to change notification settings - Fork 0
View Interface APIs 2.x
Buminta edited this page Nov 24, 2014
·
2 revisions
this.render('index', {content: 'hello world'});It using jade language for render and need file index.jade in views folder
How to using Jade language? Answer: http://jade-lang.com/
It show response like action call from url.
Example: http://localhost:3000/demo/home/index.json or http://localhost:3000/demo/home/index.xml
this.render({content: 'hello world'});If have erro it showing when debug mode on.
- From
init.jsaddingdebug: true