Skip to content

Commit

Permalink
Merge branch '1.0' into 1.1
Browse files Browse the repository at this point in the history
* 1.0:
  TranslationServiceProvider replaced translator.messages by translator.domains.
  • Loading branch information
fabpot committed Jan 20, 2014
2 parents 93dde27 + ddcec07 commit 43760a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/providers/form.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ form by adding constraints on the fields::

$app->register(new Silex\Provider\ValidatorServiceProvider());
$app->register(new Silex\Provider\TranslationServiceProvider(), array(
'translator.messages' => array(),
'translator.domains' => array(),
));

$form = $app['form.factory']->createBuilder('form')
Expand Down

0 comments on commit 43760a4

Please sign in to comment.