11 lines
283 B
JavaScript
11 lines
283 B
JavaScript
const EditorController = require('./Editor.controller')
|
|
|
|
class CodeController extends EditorController {
|
|
async _get_resource(id) {
|
|
const Codium = this.models.get('api:Codium')
|
|
return Codium.findOne({ UUID: id })
|
|
}
|
|
}
|
|
|
|
module.exports = exports = CodeController
|