thinkjs/lib/Lib/Extend/Controller/RestController.js
2014-06-28 07:55:31 +08:00

14 lines
210 B
JavaScript

/**
* REST Controller
* @return {[type]} [description]
*/
module.exports = Controller(function(){
return {
__before: function(){
},
__call: function(){
this.end('method is not allowed');
}
}
})