strapi/packages/strapi-generate-controller
Okaris ae29802c07 Fixed ‘oneWay’ relation creating unnecessary attr
When ‘oneWay’ relation is created the target model file is also updated with a reference to the relation. This is not required for a oneWay relation since it never will or can be populated from the other way around.
2018-05-17 11:27:39 +03:00
..
2018-05-04 17:43:38 +02:00
2016-04-21 14:52:00 +02:00
2016-04-21 14:52:00 +02:00
2018-02-23 14:57:58 +01:00
2016-08-10 11:31:27 +02:00

strapi-generate-controller

npm version npm downloads npm dependencies Build status Slack status

This Strapi generator contains the default files for a controller.

This generator can be called with:

$ strapi generate:controller controllerName apiName

For example if you want to generate a group controller for the user API:

$ strapi generate:controller group user

Resources