Skip to content

Commit 28fd0f6

Browse files
committed
Add route for /comment/edit
1 parent 209208c commit 28fd0f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ function main() {
9090
$router->addRoute( // URL: /comment/delete
9191
"#^/comment/delete/?$#", "Comment\\Delete", "Comment\\DeleteHtml"
9292
);
93+
$router->addRoute( // URL: /comment/edit
94+
"#^/comment/edit/?$#", "Comment\\Edit", "Comment\\EditHtml"
95+
);
9396
$router->addRoute( // URL: /credits
9497
"#^/credits/?$#", "Credits", "CreditsHtml"
9598
);

0 commit comments

Comments
 (0)