File: D:/HostingSpaces/ReturnIndustries/return-industries.nl/app/Komma/Forms/FormRoutes.php
<?php
namespace App\Komma\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');
}
}