May I know how can I make just a single route so I don't have to repeat it? Thanks in advance.
Route::get('/url', 'CtcFormController@index' )->name('CtcForm.ch');
Route::post('/url/submit', 'CtcFormController@submit')->name('CtcForm.submit');
Route::view('/url/submitted', 'form.submit')->name('CtcForm.submit');
Route::get('/url2','CtcFormController@store')->name('CtcForm.eng');
Route::post('/url2/submit', 'CtcFormController@submit')->name('CtcForm.submit');
Route::view('/url2/submitted', 'form.submit')->name('CtcForm.submit');
submitandsubmittedurl are same..going to the same controller method. you can merge them. but justurlis different. you can't merge them.