このリポジトリは2023-09-09にアーカイブされています。 ファイルの閲覧とクローンは可能ですが、プッシュ、イシューの作成、プルリクエストはできません。
076server/routes/view/site.php

34 行
1.1 KiB
PHP
Raw 通常表示 履歴

2019-12-05 18:32:20 +09:00
<?php
Route::get('/', 'Home\Index@index');
Route::get('/blog/{slug}', 'Home\Index@post');
2020-01-07 22:48:29 +09:00
2021-03-06 00:07:37 +09:00
Route::get('/changelang/{lang}', function ($lang) {
setcookie('language', $lang, time()+157788000, '/', $_SERVER['HTTP_HOST'], 0, 1);
return redirect('/');
});
Route::any('/content/add', 'Home\Content@add');
Route::any('/content/{slug}/edit', 'Home\Content@edit');
2020-07-24 22:07:01 +09:00
Route::any('/login', 'User\Login@index');
Route::any('/register', 'User\Register@index');
2020-09-23 14:15:07 +09:00
Route::any('/profile/{id}/edit', 'User\Profile@edit');
Route::get('/profile/{id}', 'User\Profile@index');
2020-01-07 22:48:29 +09:00
Route::any('/video/game/add', 'Video\Game@add');
Route::any('/video/game/{slug}/edit', 'Video\Game@edit');
Route::any('/video/add', 'Video\VideoTable@add');
Route::any('/video/{vid}/edit', 'Video\VideoTable@edit');
2020-10-08 11:03:51 +09:00
Route::get('/video', 'Video\Game@index');
Route::get('/video/{slug}', 'Video\VideoTable@index');
Route::get('/video/play/{vid}', 'Video\Prayer@index');
Route::get('/memberlist', 'User\MemberList@index');
Route::get('/commentlist', 'Home\CommentList@index');
2020-12-30 16:15:06 +09:00
Route::get('/{slug}', 'Home\Index@page');