HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/ehbo.today/app/KommaApp/Events/eventRoutes.php
<?php

use App\KommaApp\Events\Kms\EventController;
use App\KommaApp\Events\Models\Event;
use App\Notifications\CustomerRegistered;

Route::resource('beheer/events', EventController::class);

Route::model('event', Event::class); //Explicit route model binding
Route::model('events', Event::class); //Explicit route model binding

Route::get('/mail', function () {
    $customer = App\KommaApp\Users\Models\User::first();
    $message = (new CustomerRegistered($customer))->toMail();
    return view($message->view, $message->data());
});