Skip to content

Commit 3ef2a4d

Browse files
cordovalweaverryan
authored andcommitted
clarification to avoid abusing this
1 parent 04dedd6 commit 3ef2a4d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

book/templating.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,6 +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 does not mean however to create fat controllers but rather
674+
to create services used within thin controllers that just render those pieces.
673675

674676
Asynchronous Content with hinclude.js
675677
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)