app.create_route removed

v1.18.x
psychobunny 11 years ago
parent da331a1e6b
commit d471ea2d5b

@ -110,13 +110,4 @@ if(nconf.get('ssl')) {
winston.info('NodeBB Ready');
});
};
app.create_route = function (url, tpl) { // to remove
var routerScript = '<script> \
ajaxify.initialLoad = true; \
templates.ready(function(){ajaxify.go("' + url + '", null, true);}); \
</script>';
return routerScript;
};
}(WebServer));

Loading…
Cancel
Save