mirror of
https://github.com/strapi/strapi.git
synced 2025-07-17 22:14:25 +00:00
26 lines
350 B
Plaintext
26 lines
350 B
Plaintext
'use strict';
|
|
|
|
/**
|
|
* <%= filename %> controller
|
|
*
|
|
* @description: A set of functions called "actions" of the `<%= name %>` plugin.
|
|
*/
|
|
|
|
module.exports = {
|
|
|
|
/**
|
|
* Default action.
|
|
*
|
|
* @return {Object}
|
|
*/
|
|
|
|
index: async (ctx) => {
|
|
// Add your own logic here.
|
|
|
|
// Send 200 `ok`
|
|
ctx.send({
|
|
message: 'ok'
|
|
});
|
|
}
|
|
};
|