2023-03-17 15:33:48 +01:00
|
|
|
<?php
|
|
|
|
|
2023-03-27 10:44:31 +02:00
|
|
|
use App\Http\Controllers\HomeController;
|
2023-03-17 15:33:48 +01: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 10:44:31 +02:00
|
|
|
|
2023-03-20 13:04:22 +01:00
|
|
|
|
2023-03-24 14:54:17 +01:00
|
|
|
Route::middleware(['auth'])->group(function () {
|
2023-03-27 10:44:31 +02:00
|
|
|
Route::get('/', [HomeController::class, 'show']);
|
2023-03-24 14:54:17 +01:00
|
|
|
Route::get('/profile', function () {
|
|
|
|
return view('profile');
|
|
|
|
});
|
|
|
|
Route::get('/demo', function () {
|
|
|
|
return view('demo');
|
|
|
|
});
|
|
|
|
});
|