26 lines
358 B
JavaScript
Raw Normal View History

2017-07-06 10:02:00 +02:00
'use strict';
/**
* SettingsManager.js controller
*
* @description: A set of functions called "actions" of the `settings-manager` plugin.
*/
module.exports = {
/**
* Default action.
*
* @return {Object}
*/
index: async (ctx) => {
// Add your own logic here.
// Send 200 `ok`
ctx.send({
message: 'ok'
});
}
};