Permalink
Browse files

Facelift of book/controller.rst issue #2377

  • Loading branch information...
1 parent a9c8ed6 commit 248b8f9001e9d5fceeec356af5b7e8cf757d51f7 @mickaelandrieu mickaelandrieu committed Mar 30, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 book/controller.rst
View
@@ -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)
@@ -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>

0 comments on commit 248b8f9

Please sign in to comment.