Browse Source

* fix routes

master
Alex 'AdUser' Z 7 years ago
parent
commit
9b1880da61
  1. 2
      lib/CMTD.pm

2
lib/CMTD.pm

@ -50,6 +50,8 @@ sub startup {
$r->get('/comments/list') $r->get('/comments/list')
-> to('main#c_list'); -> to('main#c_list');
$r->get('/comments/add') $r->get('/comments/add')
-> to('main#c_form');
$r->post('/comments/add')
-> to('main#c_add'); -> to('main#c_add');
} }

Loading…
Cancel
Save