We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c746de + c4950dd commit 7361577Copy full SHA for 7361577
Admin/RouteAdmin.php
@@ -174,7 +174,7 @@ protected function configureFieldsForDefaults($dynamicDefaults)
174
$defaults['_format'] = array('_format', Sf2CompatUtil::getFormTypeName('text'), array('required' => true));
175
}
176
if ($route && $route->getOption('add_locale_pattern')) {
177
- $defaults['_locale'] = array('_format', Sf2CompatUtil::getFormTypeName('text'), array('required' => false));
+ $defaults['_locale'] = array('_locale', Sf2CompatUtil::getFormTypeName('text'), array('required' => false));
178
179
180
return $defaults;
0 commit comments