From 788ee8cc26d86e34fd69552b237b67caaab80351 Mon Sep 17 00:00:00 2001 From: Bart Duisters Date: Sat, 8 Feb 2020 16:50:46 +0100 Subject: [PATCH] Grammar of controllers.md Signed-off-by: Bart Duisters --- docs/3.0.0-beta.x/concepts/controllers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/3.0.0-beta.x/concepts/controllers.md b/docs/3.0.0-beta.x/concepts/controllers.md index 98fca0ab37..aa4f307a63 100644 --- a/docs/3.0.0-beta.x/concepts/controllers.md +++ b/docs/3.0.0-beta.x/concepts/controllers.md @@ -21,7 +21,7 @@ The controllers are defined in each `./api/**/controllers/` folders. Every JavaS ## Core controllers -When you create a new Content type or a new model. You will see a new empty controller has been created. It is because Strapi builds a generic controller for your models by default and allows you to override and extend it in the generated files. +When you create a new `Content Type` or a new model. You will see a new empty controller has been created. It is because Strapi builds a generic controller for your models by default and allows you to override and extend it in the generated files. ### Extending a Model Controller @@ -29,7 +29,7 @@ Here are the core methods (and their current implementation). You can simply copy and paste this code in your own controller file to customize the methods. ::: warning -In the following example we will consider your controller, service and model is named `restaurant` +In the following example we will assume your controller, service and model are named `restaurant` ::: #### Utils