File: D:/HostingSpaces/SBogers10/cafe-de-bout.komma.pro/app/Forms/FormRoutes.php
<?php
namespace App\Forms;
use Illuminate\Support\Facades\Route;
final class FormRoutes
{
/**
* Route that are resolved from the Alias route to Rest Route by the AliasMiddleware.
* Through the controller the models will be bind by Implicit Route Model Binding,
* so no need to add Route::model in here.
*/
public static function web(){
Route::post('contact/process', ContactController::class.'@process')->name('contact.process');
Route::get('contact/success', ContactController::class.'@success')->name('contact.success');
}
}