Skip to content

Commit ce5a15e

Browse files
committed
refactor annotated route
1 parent 46ae501 commit ce5a15e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/skeleton/controller/Controller.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class <?= $class_name; ?> extends <?= $parent_class_name; ?><?= "\n" ?>
1010
{
1111
<?php if ($use_annotations) { ?>
12-
#[Route("<?= $route_path ?>", name="<?= $route_name ?>")]
12+
#[Route('<?= $route_path ?>', name: '<?= $route_name ?>')]
1313
<?php } else { ?>
1414
/**
1515
* @Route("<?= $route_path ?>", name="<?= $route_name ?>")

0 commit comments

Comments
 (0)