Skip to content

Commit 822b150

Browse files
authored
Update url-rules.php
1 parent 7b6f9b9 commit 822b150

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

backend/config/url-rules.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@
44

55
return [
66
'' => 'site/index',
7+
8+
// default URLs for making existing controllers available
9+
'<controller>' => '<controller>/index',
10+
'<controller>/<action>' => '<controller>/<action>',
711
];

0 commit comments

Comments
 (0)