mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-22 16:30:34 +01:00
removing static saving of recent post, and added in dynamic pulling on Topics.get
This commit is contained in:
@@ -227,13 +227,12 @@ var express = require('express'),
|
||||
app.get('/api/:method/:id*', api_method);
|
||||
|
||||
app.get('/test', function(req, res) {
|
||||
categories.getModerators(2, function(mods) {
|
||||
res.send(JSON.stringify(mods));
|
||||
topics.get_teasers([1, 2, 3], function(teasers) {
|
||||
res.send(JSON.stringify(teasers));
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
//START TODO: MOVE TO GRAPH.JS
|
||||
|
||||
app.get('/graph/users/:username/picture', function(req, res) {
|
||||
|
||||
Reference in New Issue
Block a user