1
0
Fork 0
mirror of synced 2024-06-03 03:14:50 +12:00

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
commit b6495ff006

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')