2023-03-17 14:33:48 +00:00
|
|
|
<?php
|
|
|
|
|
|
2023-03-27 08:44:31 +00:00
|
|
|
use App\Http\Controllers\HomeController;
|
2023-03-17 14:33:48 +00:00
|
|
|
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 and all of them will
|
|
|
|
|
| be assigned to the "web" middleware group. Make something great!
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2023-03-27 08:44:31 +00:00
|
|
|
|
2023-03-20 12:04:22 +00:00
|
|
|
|
2023-03-24 13:54:17 +00:00
|
|
|
Route::middleware(['auth'])->group(function () {
|
2023-03-27 08:44:31 +00:00
|
|
|
Route::get('/', [HomeController::class, 'show']);
|
2023-03-24 13:54:17 +00:00
|
|
|
Route::get('/profile', function () {
|
|
|
|
|
return view('profile');
|
|
|
|
|
});
|
|
|
|
|
Route::get('/demo', function () {
|
|
|
|
|
return view('demo');
|
|
|
|
|
});
|
|
|
|
|
});
|