Hi , i have route group with prefix , with route called helpers
Route::group(['prefix' => 'clients', 'as' => 'clients.'], function () {
Route::get('/helpers', [HelperController::class, 'index'])->name('control.helpers');
#etc ...
and another route group with different prefix
with same route link and name
Route::group(['prefix' => 'files', 'as' => 'files.', 'controller'], function () {
Route::get('/helpers', [FileController::class, 'helpers'])->name('manage.helpers');
when i access the first one it's be like
/clients/helpers
the second one
/files/helpers
when i access first one i got 404 error until i change the link , but here is link must be correct /helpers at files and client , so how i can solve it ?
i need all two links with same schema