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