Merge remote-tracking branch 'origin/feat-add-route-doc' into feat-add-route-doc

This commit is contained in:
shimon
2022-09-09 17:00:52 +03:00
+1 -1
View File
@@ -156,7 +156,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')