Merge remote-tracking branch 'origin/feat-add-route-doc' into feat-add-route-doc
This commit is contained in:
commit
b6495ff006
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue