aboutsummaryrefslogtreecommitdiff
path: root/app/Routes.php
blob: 59c0f40e156898922d2aec6fa207a460ee005236 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php

/* public routes */

$router->get('',         '../app/controllers/index.controller.php');
$router->get('contact',  '../app/controllers/contact.controller.php');
$router->get('wall',     '../app/controllers/wall.controller.php');
$router->get('comments', '../app/controllers/comments.controller.php');
$router->get('about',    '../app/controllers/about.controller.php');
$router->get('hashget',  '../app/controllers/comments.controller.php');
$router->get('hashover', '../app/controllers/comments.controller.php');

$router->head('',         '../app/controllers/index.controller.php');
$router->head('contact',  '../app/controllers/contact.controller.php');
$router->head('wall',     '../app/controllers/wall.controller.php');
$router->head('comments', '../app/controllers/comments.controller.php');
$router->head('hashget',  '../app/controllers/comments.controller.php');
$router->head('hashover', '../app/controllers/comments.controller.php');

$router->post('contact',  '../app/controllers/contact.controller.php');
$router->post('hashpost', '../app/controllers/comments.controller.php');

/* backend routes */

$router->get('latestajax',    '../bootstrap/comments/backend/latest-ajax.php');
$router->get('countlinkajax', '../bootstrap/comments/backend/count-link-ajax.php');

$router->post('commentsajax', '../bootstrap/comments/backend/comments-ajax.php');
$router->post('formactions',  '../bootstrap/comments/backend/form-actions.php');
$router->post('loadcomments', '../bootstrap/comments/backend/load-comments.php');
$router->post('likecomment',  '../bootstrap/comments/backend/like.php');