You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
285 B
11 lines
285 B
3 years ago
|
const EditorController = require('./Editor.controller')
|
||
|
|
||
|
class MarkdownController extends EditorController {
|
||
|
async _get_resource(id) {
|
||
|
const Node = this.models.get('api:Node')
|
||
|
return Node.findOne({ UUID: id })
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = exports = MarkdownController
|