Skip to content

Commit 68d67a5

Browse files
authored
Use "index" instead of "indexAction"
Wrong controller action name.
1 parent f5832b2 commit 68d67a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

create_framework/separation_of_concerns.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Don't forget to update the ``example.com/src/app.php`` file accordingly::
138138

139139
$routes->add('leap_year', new Routing\Route('/is_leap_year/{year}', [
140140
'year' => null,
141-
'_controller' => 'Calendar\Controller\LeapYearController::indexAction',
141+
'_controller' => 'Calendar\Controller\LeapYearController::index',
142142
]));
143143

144144
To sum up, here is the new file layout:

0 commit comments

Comments
 (0)