-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroutes.php
38 lines (27 loc) · 1.02 KB
/
routes.php
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
32
33
34
35
36
37
38
<?php
$ROUTES =
[
['/', 'GET', 'Forum::index'],
['/comment_create', 'POST', 'Comment::create'],
['/vote_create', 'POST', 'Vote::create'],
['/vote_delete', 'POST', 'Vote::delete'],
['/p2p', 'GET', 'Forum::p2p'],
['/p2p', 'POST', 'Forum::p2p_form'],
['/p2m', 'GET', 'Forum::p2m'],
['/p2m', 'POST', 'Forum::p2m_form'],
['/m2m', 'GET', 'Forum::m2m'],
['/m2m', 'POST', 'Forum::m2m_form'],
['/groups', 'GET', 'Forum::groups'],
['/group/[a:forum]/[i:id]', 'GET', 'Forum::group'],
['/search/[a:forum]/[*:keywords]', 'GET', 'Forum::search'],
['/search_suggest', 'GET', 'Forum::search_suggest'],
['/posts_suggest', 'GET', 'Forum::posts_suggest'],
['/post/[i:id]/[a:forum]', 'GET', 'Forum::viewpost'],
['/signin', 'GET', 'Auth::index'],
['/signin', 'POST', 'Auth::login'],
['/register', 'GET', 'Auth::register'],
['/register', 'POST', 'Auth::provision'],
['/confirm', 'GET', 'Auth::confirm'],
['/passwordless', 'GET', 'Auth::passwordless'],
['/signout', 'GET', 'Auth::logout']
];