From 3f568f732ed6720e7f4bac22d7b545a9a7689ea1 Mon Sep 17 00:00:00 2001 From: Shimon Newman Date: Fri, 9 Sep 2022 16:43:17 +0300 Subject: [PATCH] Update docs/tutorials/add-route.md Co-authored-by: Eldad A. Fux --- docs/tutorials/add-route.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/add-route.md b/docs/tutorials/add-route.md index 35269ad185..f6c72c9376 100644 --- a/docs/tutorials/add-route.md +++ b/docs/tutorials/add-route.md @@ -153,7 +153,7 @@ some code... ``` ### 6. Action -Action populates the actual routes code and has to be very clear and understandable. +Action populates the actual routes code and has to be very clear and understandable. A good route stay simple and doesn't contain complex logic. An action is where we describe our business need in code, and combine different libraries to work together and tell our story. ```php App::post('/v1/account/sessions/anonymous')