mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-22 08:20:36 +01:00
app.create_route removed
This commit is contained in:
@@ -110,13 +110,4 @@ if(nconf.get('ssl')) {
|
|||||||
winston.info('NodeBB Ready');
|
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));
|
}(WebServer));
|
||||||
|
|||||||
Reference in New Issue
Block a user