mirror of
https://hk.gh-proxy.com/https://github.com/NodeBB/nodebb-plugin-composer-quill.git
synced 2025-10-04 21:31:16 +08:00
18 lines
343 B
JavaScript
18 lines
343 B
JavaScript
'use strict';
|
|
|
|
var Controllers = module.exports;
|
|
|
|
Controllers.renderAdminPage = function (req, res, next) {
|
|
var quill = module.parent.exports;
|
|
|
|
quill.checkCompatibility(function (err, checks) {
|
|
if (err) {
|
|
return next(err);
|
|
}
|
|
|
|
res.render('admin/plugins/composer-quill', {
|
|
title: 'Quill Composer',
|
|
checks: checks,
|
|
});
|
|
});
|
|
};
|