v2board/routes/web.php

20 lines
566 B
PHP
Raw Normal View History

2019-10-29 15:33:36 +08:00
<?php
/*
|--------------------------------------------------------------------------
| 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('/', function () {
return view('app', [
2019-11-18 19:52:30 +08:00
'title' => config('v2board.app_name', 'V2Board'),
'theme' => config('v2board.app_theme', 1)
2019-10-29 15:33:36 +08:00
]);
});