mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-01-18 14:26:56 +00:00
12 lines
192 B
JavaScript
12 lines
192 B
JavaScript
'use strict';
|
|
|
|
module.exports = think.controller({
|
|
/**
|
|
* index action
|
|
* @return {Promise} []
|
|
*/
|
|
indexAction: function(self){
|
|
//auto render template
|
|
self.display();
|
|
}
|
|
}); |