FleetCart/Modules/Contact/Routes/public.php

10 lines
293 B
PHP
Raw Permalink Normal View History

2023-06-11 12:14:03 +00:00
<?php
use Illuminate\Support\Facades\Route;
use Spatie\Honeypot\ProtectAgainstSpam;
Route::get('contact', 'ContactController@create')->name('contact.create');
Route::post('contact', 'ContactController@store')
->name('contact.store')
->middleware(ProtectAgainstSpam::class);