kopia lustrzana https://github.com/c9/core
Merge pull request +13382 from c9/all-fix_no_method_render
fix: response has no method renderpull/290/head
commit
6758e7d15c
|
@ -94,7 +94,7 @@ module.exports = function startup(options, imports, register) {
|
|||
api.on = app.on;
|
||||
api.emit = app.emit;
|
||||
|
||||
api.useSetup(function(req, res, next) {
|
||||
api.useStart(function(req, res, next) {
|
||||
for (var name in requestMethods)
|
||||
req[name] = requestMethods[name];
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue