Commit d4aefc39 authored by Fabien Potencier's avatar Fabien Potencier

Merge branch '1.1'

* 1.1:
  TranslationServiceProvider replaced translator.messages by translator.domains.
parents dfd5abce 43760a43
...@@ -142,7 +142,7 @@ form by adding constraints on the fields:: ...@@ -142,7 +142,7 @@ form by adding constraints on the fields::
$app->register(new Silex\Provider\ValidatorServiceProvider()); $app->register(new Silex\Provider\ValidatorServiceProvider());
$app->register(new Silex\Provider\TranslationServiceProvider(), array( $app->register(new Silex\Provider\TranslationServiceProvider(), array(
'translator.messages' => array(), 'translator.domains' => array(),
)); ));
$form = $app['form.factory']->createBuilder('form') $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