thinkjs/lib/Lib/Extend/Controller/RestController.js
2014-06-28 10:37:19 +08:00

15 lines
232 B
JavaScript

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