diff --git a/lib/CMTD.pm b/lib/CMTD.pm index 3aa9bb3..2de03e3 100644 --- a/lib/CMTD.pm +++ b/lib/CMTD.pm @@ -50,6 +50,8 @@ sub startup { $r->get('/comments/list') -> to('main#c_list'); $r->get('/comments/add') + -> to('main#c_form'); + $r->post('/comments/add') -> to('main#c_add'); }