demarches-normaliennes/doc/coding_conventions.md

14 lines
137 B
Markdown
Raw Normal View History

2022-11-30 12:36:20 +01:00
# early returns
## in controllers
good
```
... code
return if !DossierSearchService.id_compatible?(@search_terms)
... more code
```