Commit 43760a43 authored by Fabien Potencier's avatar Fabien Potencier

Merge branch '1.0' into 1.1

* 1.0:
  TranslationServiceProvider replaced translator.messages by translator.domains.
parents 93dde279 ddcec079
......@@ -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