thinkjs/lib/Lib/Extend/Controller/RestController.js
2014-05-21 21:58:35 +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");
}
}
})