my-website/routes/web.php

23 lines
559 B
PHP
Raw Permalink Normal View History

2024-02-15 19:19:47 +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 20:31:36 +02:00
return view('homepage');
2024-02-15 19:19:47 +02:00
});
2024-02-16 23:36:28 +02:00
Route::get('/about', function () {
return view('about');
});