summaryrefslogtreecommitdiff
path: root/routes/web.php
blob: 745f9bbc01e206c9dd3470e074b57c9574e83e96 (plain)
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
<?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');