// ===== ADD THESE LINES to routes/web.php, just BEFORE the "/page/{slug}" line =====

use App\Http\Controllers\FormController;

Route::get('/forms/{form}', [FormController::class, 'show'])->name('forms.show');
Route::post('/forms/{form}', [FormController::class, 'submit'])->name('forms.submit');
Route::get('/forms/{form}/thanks', [FormController::class, 'thanks'])->name('forms.thanks');
