mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-01-25 14:42:47 +00:00
15 lines
245 B
JavaScript
15 lines
245 B
JavaScript
/**
|
|
* REST Controller
|
|
* @return {[type]} [description]
|
|
*/
|
|
module.exports = Controller(function(){
|
|
'use strict';
|
|
return {
|
|
__before: function(){
|
|
|
|
},
|
|
__call: function(){
|
|
this.end('method is not allowed');
|
|
}
|
|
}
|
|
}) |