mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 16:00:26 +01:00
app.create_route removed
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user