Skip to content

Commit

Permalink
Facelift of book/controller.rst issue #2377
Browse files Browse the repository at this point in the history
  • Loading branch information
mickaelandrieu committed Mar 30, 2013
1 parent a9c8ed6 commit 248b8f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/controller.rst
Expand Up @@ -296,7 +296,7 @@ the following guidelines in mind while you develop.

* **Not all routing parameters need to be arguments on your controller**

If, for example, the ``last_name`` weren't important for your controller,
If, for example, the ``last_name`` is not important for your controller,
you could omit it entirely::

public function indexAction($first_name, $color)
Expand Down Expand Up @@ -686,7 +686,7 @@ the ``notice`` message:

.. code-block:: php
<?php foreach ($view['session']->getFlash('notice') as $message): ?>
<?php foreach ($view['session']->getFlashBag('notice') as $message): ?>
<div class="flash-notice">
<?php echo "<div class='flash-error'>$message</div>" ?>
</div>
Expand Down

0 comments on commit 248b8f9

Please sign in to comment.