web.php <?php use AppHttpControllerssettingsControllerseoController; use AppHttpControllerssettingsControllercontactController; use IlluminateSupportFacadesRoute; use AppHttpControllersgeneralControllergeneralRoutes; use AppHttpControllerssettingsControllerusersController; Route::controller(generalRoutes::class)->group(function () { Route::get('/', 'index')->name('index'); Route::get('/getNews', 'getNews'); }); Route::prefix('settings')->group(function () { Route::controller(contactController::class)->group(function () { Route::get('/contact', 'index')->name('contactIndex'); Route::post('/contact/update/general', 'generalContactUpdate')->name('generalSContactUpdate'); Route::post('/contact/update/html', 'staticHtmlUpdate')->name('staticHtmlUpdate'); }); }); contactController <?php namespace AppHttpControllerssettingsController; use AppHttpControllersController;…