Skip to content

Commit

Permalink
Merge pull request #244 from golovanov/patch-1
Browse files Browse the repository at this point in the history
Fix README.md
  • Loading branch information
endeveit committed Dec 23, 2014
2 parents ad86a76 + 4678773 commit 9a8d0e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/Phalcon/Mvc/Model/Validator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class User extends Model
public function validation()
{
$this->validate(new ConfirmationOf(array(
field' => 'password',
'field' => 'password',
'field_confirmation' => 'password_confirmation',
'message' => 'Both fields should contain equal values'
)));
Expand All @@ -38,4 +38,4 @@ class User extends Model

}

```
```

0 comments on commit 9a8d0e4

Please sign in to comment.