Commit ab8a2611 authored by Frederic G. MARAND's avatar Frederic G. MARAND Committed by Fabien Potencier

TranslationServiceProvider replaced translator.messages by translator.domains.

- changed in commit 7C496D
parent 6e4b26d7
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment