Simplify routing

pull/117/merge
Nikolai Onken 2015-07-07 09:45:22 +00:00
rodzic 37286ec012
commit 7fabaaa51f
1 zmienionych plików z 8 dodań i 6 usunięć

4
node_modules/frontdoor/lib/section.js wygenerowano vendored
Wyświetl plik

@ -140,7 +140,9 @@ module.exports = function Section(name, description, types) {
handler(req, res, next);
});
this._route( path, { method: "get" }, middlewares );
this._route(path, {
method: "get"
}, middlewares);
};
this._rootHandler = function(req, res) {