This commit is contained in:
2019-03-04 15:18:48 +01:00
parent 731a494eb4
commit 2d506a0095
27 changed files with 431 additions and 1547 deletions

View File

@ -11,20 +11,16 @@ class HomeController extends Controller {
/**
* @route /^\/$/
* @title Accueil
*/
public function home() {
return file_get_contents(DIR."/html/index.html");
}
/**
* @route /^\/post\/[0-9]+\/$/
*/
public function post() {
return file_get_contents(DIR."/html/post.html");
}
/**
* @route /^\/search\//
* @title Rechercher
*/
public function search() {
return file_get_contents(DIR."/html/search.html");