-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathanonymus.php
39 lines (29 loc) · 1.37 KB
/
anonymus.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
39
<?php
$app->get('/', function($request, $response) {
return $this->view->render($response, 'templates/index.html');
})->setName('index');
$app->get('/privacy', function($request, $response) {
return $this->view->render($response, 'templates/privacy.html');
})->setName('privacy');
$app->get('/markdown', function($request, $response) {
return $this->view->render($response, 'templates/markdown.html');
})->setName('markdown');
$app->get('/about', function($request, $response) {
return $this->view->render($response, 'templates/about.html');
})->setName('about');
$app->get('/login', function($request, $response) {
return $this->view->render($response, 'templates/login.html');
})->setName('accounts.login');
$app->get('/account-pending', function($request, $response) {
return $this->view->render($response, 'templates/account-pending.html');
})->setName('accounts.account_pending');
$app->get('/forgot-password', function($request, $response) {
return $this->view->render($response, 'templates/forgot.html');
})->setName('accounts.forgot_password');
$app->get('/register', function($request, $response) {
return $this->view->render($response, 'templates/register.html');
})->setName('accounts.register');
$app->get('/not-found', function($request, $response) {
return $this->view->render($response, 'templates/not_found.html');
})->setName('not-found');
?>