app.create_route removed

This commit is contained in:
psychobunny
2014-03-04 17:11:40 -05:00
parent da331a1e6b
commit d471ea2d5b

View File

@@ -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));