diff options
| author | horus | 2020-04-02 21:52:04 +0200 |
|---|---|---|
| committer | horus | 2020-04-02 21:52:04 +0200 |
| commit | 5a8c47e29afdbb61c32c1e03162abb1bb871ee9e (patch) | |
| tree | 19cd2e0c48119a703306a71df813d07666289e8f /routes/web.php | |
| download | curious-5a8c47e29afdbb61c32c1e03162abb1bb871ee9e.tar.gz | |
Initial commit.
Diffstat (limited to 'routes/web.php')
| -rw-r--r-- | routes/web.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/routes/web.php b/routes/web.php new file mode 100644 index 0000000..745f9bb --- /dev/null +++ b/routes/web.php @@ -0,0 +1,26 @@ +<?php + +use Illuminate\Support\Facades\Route; + +/* +|-------------------------------------------------------------------------- +| Web Routes +|-------------------------------------------------------------------------- +| +| Here is where you can register web routes for your application. These +| routes are loaded by the RouteServiceProvider within a group which +| contains the "web" middleware group. Now create something great! +| +*/ + +Route::get('/', 'IndexController@index')->name('index'); +Route::get('/topic/{topic}', 'IndexController@topic')->name('topic')->where('topic', '(.+)'); +Route::get('/topic/', 'IndexController@topicindex')->name('topic_index'); +Route::get('/new', 'IndexController@new')->name('newest'); +Route::get('/search', 'IndexController@search')->name('search'); +Route::get('/popular', 'IndexController@popular')->name('popular'); +Route::get('/random', 'IndexController@random')->name('random'); + +#Auth::routes(); + +Route::get('/home', 'HomeController@index')->name('home'); |
