Skip to content

Commit c77ba7f

Browse files
authored
Update Controller.tpl.php
1 parent e7ba0ec commit c77ba7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#[Route('<?= $route_path ?>')]
88
class <?= $class_name ?> extends AbstractController
99
{
10-
<?= $generator->generateRouteForControllerMethod('/', sprintf('%s_index', $route_name), ['GET']) ?>
10+
<?= $generator->generateRouteForControllerMethod('', sprintf('%s_index', $route_name), ['GET']) ?>
1111
<?php if (isset($repository_full_class_name)): ?>
1212
public function index(<?= $repository_class_name ?> $<?= $repository_var ?>): Response
1313
{

0 commit comments

Comments
 (0)