mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
Move showPublishNote and publishNoteActions to note controller
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
dee62ce571
commit
2bc4233ba8
6 changed files with 99 additions and 125 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue