Skip to content

Commit 3479dd7

Browse files
committed
make flags optional
1 parent d3cf54b commit 3479dd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Admin/RouteAdmin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ protected function configureFormFields(FormMapper $formMapper)
6565
array('choice_list' => array(), 'select_root_node' => true, 'root_node' => $this->routeRoot)
6666
)
6767
->add('name', 'text')
68-
->add('addFormatPattern')
69-
->add('addTrailingSlash')
68+
->add('addFormatPattern', null, array('required' => false))
69+
->add('addTrailingSlash', null, array('required' => false))
7070
->end();
7171

7272
if (null === $this->getParentFieldDescription()) {

0 commit comments

Comments
 (0)