Skip to content

Commit e5d59f5

Browse files
committed
Fix paths to '/comment' controllers
1 parent 329f25b commit e5d59f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ function main() {
9090
"#^/$#", "Legacy", "LegacyHtml"
9191
);
9292
$router->addRoute( // URL: /comment/create
93-
"#^/comment/create/?$#", "CommentCreate", "CommentCreateJSON"
93+
"#^/comment/create/?$#", "Comment\\Create", "Comment\\CreateJSON"
9494
);
9595
$router->addRoute( // URL: /comment/delete
96-
"#^/comment/delete/?$#", "CommentDelete", "CommentDeleteHtml"
96+
"#^/comment/delete/?$#", "Comment\\Delete", "Comment\\DeleteHtml"
9797
);
9898
$router->addRoute( // URL: /credits
9999
"#^/credits/?$#", "Credits", "CreditsHtml"

0 commit comments

Comments
 (0)