mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-01-25 14:42:47 +00:00
15 lines
328 B
JavaScript
15 lines
328 B
JavaScript
/**
|
|
* controller
|
|
* @return
|
|
*/
|
|
module.exports = Controller(function(){
|
|
return {
|
|
/*init: function(http){
|
|
this.super("init", http);
|
|
}*/
|
|
indexAction: function(){
|
|
this.end("hello, thinkjs!");
|
|
//this.display(); //render Home/index_index.html file
|
|
}
|
|
}
|
|
}); |