mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
editing of posts
This commit is contained in:
@@ -314,6 +314,12 @@ var express = require('express'),
|
||||
});
|
||||
}
|
||||
|
||||
app.get('/test', function(req, res) {
|
||||
global.modules.posts.getRawContent(11, function(post) {
|
||||
res.send(JSON.stringify(post));
|
||||
});
|
||||
});
|
||||
|
||||
// TODO move user related logic into another file ^^^^^^^^^^^^^^^^^^^^^^^
|
||||
}(WebServer));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user