my-website/routes/web.php

22 lines
558 B
PHP
Raw Normal View History

2024-02-15 19:30:27 +02:00
<?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 and all of them will
| be assigned to the "web" middleware group. Make something great!
|
*/
Route::get('/', function () {
2024-02-15 21:01:07 +02:00
return view('homepage');
2024-02-15 19:30:27 +02:00
});
Route::get('/about', function () {
return view('about');
});