Answer the question
In order to leave comments, you need to log in
How can Laravel route groups be separated?
Route::namespace('Hr')->group(function () {
Route::group(['middleware' => ['role:hr']], function () {
Route::get('otdel/{url}', '[email protected]')->name('personal-index');
Route::get('otdel/{url}/statistic', '[email protected]')->name('personal-statistic');
Route::get('otdel/{url}/users', '[email protected]')->name('personal-users');
});
Route::group(['middleware' => ['role:hr_rus']], function () {
Route::get('otdel-ru/{url}', '[email protected]')->name('personal-index');
Route::get('otdel-ru/{url}/statistic', '[email protected]')->name('personal-statistic');
Route::get('otdel/{url}/users', '[email protected]')->name('personal-users');
});
Route::post('otdel/createEmployee', '[email protected]')->name('createEmployee');
Route::get('person-delete/{id}', '[email protected]')->name('person.delete');
Route::get('trash/{id}', '[email protected]')->name('trashEmployee');
});
Answer the question
In order to leave comments, you need to log in
well dug!
the background is changing by hover, what else is there to chew on? and the element itself has the appropriate size, the background is transparent without a hover ...
this is all that I could see on your photo, as usual, the minimum information in the question gives the most banal answer
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question