Skip to content

Commit

Permalink
minor #6886 Update controllers.rst (asandjivy)
Browse files Browse the repository at this point in the history
This PR was submitted for the 3.1 branch but it was merged into the 2.7 branch instead (closes #6886).

Discussion
----------

Update controllers.rst

Commits
-------

c18f7b5 Update controllers.rst
  • Loading branch information
weaverryan committed Oct 6, 2016
2 parents 50c8385 + c18f7b5 commit 952deaf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions best_practices/controllers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ it more difficult to know which template is being rendered. It also makes
it less obvious to beginners that a controller should always return a Response
object (unless you're using a view layer).

How the Controller Looks
------------------------
What does the Controller look like
----------------------------------

Considering all this, here is an example of how the controller should look
Considering all this, here is an example of what the controller should look like
for the homepage of our app:

.. code-block:: php
Expand Down

0 comments on commit 952deaf

Please sign in to comment.