Skip to content

Commit

Permalink
Merge pull request #303 from symfony-cmf/fix-admin-typo
Browse files Browse the repository at this point in the history
fix bug in sonata admin
  • Loading branch information
lsmith77 committed Jun 23, 2015
2 parents 0c8e317 + beeba33 commit c4950dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Admin/RouteAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ protected function configureFieldsForDefaults($dynamicDefaults)
$defaults['_format'] = array('_format', 'text', array('required' => true));
}
if ($route && $route->getOption('add_locale_pattern')) {
$defaults['_locale'] = array('_format', 'text', array('required' => false));
$defaults['_locale'] = array('_locale', 'text', array('required' => false));
}

return $defaults;
Expand Down

0 comments on commit c4950dd

Please sign in to comment.