Move showPublishNote and publishNoteActions to note controller
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
@@ -8,7 +8,6 @@ const markdownpdf = require('markdown-pdf')
|
||||
const moment = require('moment')
|
||||
const querystring = require('querystring')
|
||||
|
||||
|
||||
exports.getInfo = function getInfo (req, res, note) {
|
||||
const body = note.content
|
||||
const extracted = models.Note.extractMeta(body)
|
||||
|
||||
Reference in New Issue
Block a user