2019-12-05 18:32:20 +09:00
|
|
|
<?php
|
|
|
|
|
2021-06-28 22:40:39 +09:00
|
|
|
Route::get('/', 'Home\Index@index');
|
|
|
|
Route::get('/blog/{slug}', 'Home\Index@post');
|
2020-01-07 22:48:29 +09:00
|
|
|
|
2021-12-02 01:24:28 +09:00
|
|
|
Route::group(['prefix' => 'content'], function () {
|
|
|
|
Route::any('/add', 'Home\Content@add');
|
|
|
|
Route::any('/{slug}/edit', 'Home\Content@edit');
|
2021-03-06 00:07:37 +09:00
|
|
|
});
|
|
|
|
|
2021-06-28 22:40:39 +09:00
|
|
|
Route::any('/login', 'User\Login@index');
|
|
|
|
Route::any('/register', 'User\Register@index');
|
2020-09-23 14:15:07 +09:00
|
|
|
|
2021-12-02 01:24:28 +09:00
|
|
|
Route::group(['prefix' => 'profile'], function () {
|
|
|
|
Route::any('/{id}/edit', 'User\Profile@edit');
|
|
|
|
Route::get('/{id}', 'User\Profile@index');
|
|
|
|
});
|
2020-10-08 11:03:51 +09:00
|
|
|
|
2021-12-02 01:24:28 +09:00
|
|
|
Route::group(['prefix' => 'video'], function () {
|
|
|
|
Route::group(['prefix' => 'game'], function () {
|
|
|
|
Route::any('/add', 'Video\Game@add');
|
|
|
|
Route::any('/{slug}/edit', 'Video\Game@edit');
|
|
|
|
});
|
|
|
|
|
|
|
|
Route::any('/add', 'Video\VideoTable@add');
|
|
|
|
Route::any('/{vid}/edit', 'Video\VideoTable@edit');
|
|
|
|
|
|
|
|
Route::get('/', 'Video\Game@index');
|
|
|
|
Route::get('/{slug}', 'Video\VideoTable@index');
|
|
|
|
Route::get('/play/{vid}', 'Video\Prayer@index');
|
|
|
|
});
|
2020-10-08 09:12:30 +09:00
|
|
|
|
2021-06-28 22:40:39 +09:00
|
|
|
Route::get('/memberlist', 'User\MemberList@index');
|
|
|
|
Route::get('/commentlist', 'Home\CommentList@index');
|
2021-12-02 01:27:34 +09:00
|
|
|
Route::get('/contact/seiko', 'Home\Contact@seiko');
|
|
|
|
Route::any('/contact', 'Home\Contact@index');
|
2021-12-10 21:26:03 +09:00
|
|
|
Route::get('/feed', 'RssFeedController@feed');
|
2020-12-30 16:15:06 +09:00
|
|
|
|
2021-06-28 22:40:39 +09:00
|
|
|
Route::get('/{slug}', 'Home\Index@page');
|