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