Web layout
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
use App\Http\Controllers\HomeController;
|
||||
use App\Http\Controllers\Auth\LoginController;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Web Routes
|
||||
@@ -11,6 +17,17 @@
|
||||
|
|
||||
*/
|
||||
|
||||
#Route::get('/', function () {
|
||||
# return view('welcome');
|
||||
#});
|
||||
Auth::routes([
|
||||
'login' => true,
|
||||
'logout' => true,
|
||||
'register' => true,
|
||||
'reset' => true, // for resetting passwords
|
||||
'confirm' => true, // for additional password confirmations
|
||||
'verify' => true, // for email verification
|
||||
]);
|
||||
Route::get('logout',[LoginController::class,'logout']);
|
||||
|
||||
Route::get('/',[HomeController::class,'welcome']);
|
||||
Route::get('network/{name}',[HomeController::class,'network']);
|
||||
|
||||
Route::get('home',[HomeController::class,'home']);
|
Reference in New Issue
Block a user