diff --git a/doc/coding_conventions.md b/doc/coding_conventions.md new file mode 100644 index 000000000..bc16d674b --- /dev/null +++ b/doc/coding_conventions.md @@ -0,0 +1,13 @@ +# early returns + +## in controllers + +good + +``` +... code + +return if !DossierSearchService.id_compatible?(@search_terms) + +... more code +```