Fixed doc

This commit is contained in:
William DURAND 2011-09-23 12:06:40 +02:00
parent 5fc17d5798
commit 145d4fa9ca
2 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@ Currently supports:
For documentation, see:
Resources/doc
Resources/doc/
For license, see:

View file

@ -312,15 +312,15 @@ Propel ParamConverter
---------------------
You can use the Propel ParamConverter with the SensioFrameworkExtraBundle.
You just need to put the right Annotation on top of your controller:
You just need to put the right _Annotation_ on top of your controller:
``` php
/**
* @ParamConverter("post", class="BlogBundle\Model\Post")
*/
public function myControler(Post $post)
public function myAction(Post $post)
{
}
```
your request need to have an Id parameter or any field as parameter (slug, title, ...)
Your request need to have an `id` parameter or any field as parameter (slug, title, ...).