Skip to content

Commit e8a6963

Browse files
committed
[#2926] Minor tweaks
1 parent 3bfb0ee commit e8a6963

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

book/templating.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -670,9 +670,8 @@ string syntax for controllers (i.e. **bundle**:**controller**:**action**):
670670
Whenever you find that you need a variable or a piece of information that
671671
you don't have access to in a template, consider rendering a controller.
672672
Controllers are fast to execute and promote good code organization and reuse.
673-
This however should not encourage many fat controllers but rather
674-
to create services used within few view-oriented thin controllers that
675-
just render those pieces needed.
673+
Of course, like all controllers, they should ideally be "skinny", meaning
674+
that as much code as possible lives in reusable :doc:`services</book/service_container>`.
676675

677676
Asynchronous Content with hinclude.js
678677
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)