fix and improve the code

This commit is contained in:
2025-10-25 15:00:38 +03:30
parent a542914cc3
commit 0272aa0c9f
5 changed files with 65 additions and 34 deletions

View File

@@ -613,8 +613,8 @@ Route::prefix('role')
->controller(RoleManagementController::class)
->group(function () {
Route::get('/', 'index')->name('index');
Route::get('/{role}', 'show')->name('show');
Route::post('/', 'store')->name('store');
Route::get('/{role}', 'show')->name('show');
Route::post('/{role}', 'update')->name('update');
Route::delete('/{role}', 'destroy')->name('destroy');
});