Skip to content

Commit

Permalink
Just a littler profreading
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanrey committed Nov 8, 2011
1 parent d7a40ae commit 072ec56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/doc/README.markdown
Expand Up @@ -334,7 +334,7 @@ public function myAction(Post $post)
}
```

Your request need to have an `id` parameter or any field as parameter (slug, title, ...).
Your request needs to have an `id` parameter or any field as parameter (slug, title, ...).

The _Annotation_ is optional if your parameter is typed you could only have this:

Expand Down Expand Up @@ -366,7 +366,7 @@ public function myAction(Post $post)

## UniqueObjectValidator ##

In a form, if you want to validate the unicity of a field in a table you have to use the uniqueObjectValidator.
In a form, if you want to validate the unicity of a field in a table you have to use the UniqueObjectValidator.
The only way to use it is in a validation.yml file, like this:

``` yaml
Expand Down

0 comments on commit 072ec56

Please sign in to comment.