trim desactivated

This commit is contained in:
Simon Vieille 2015-11-10 21:49:42 +01:00
parent 863c7510fa
commit c8e2be1beb
3 changed files with 3 additions and 2 deletions

View File

@ -7,5 +7,3 @@ $app['config.locator.path'] = $app['root_path'].'/app/config/';
$app['config.locator'] = function ($app) {
return new FileLocator($app['config.locator.path']);
};
$app['env'] = 'dev';

View File

@ -33,6 +33,7 @@ class CreateGistForm extends AbstractForm
'class' => 'form-control',
'rows' => 10,
),
'trim' => false,
'constraints' => array(
new NotBlank(array(
'message' => $this->translator->trans('form.error.not_blank'),

View File

@ -2,4 +2,6 @@
$app = require __DIR__.'/../app/bootstrap.php';
$app['env'] = 'prod';
$app->run();