fix code and add id for get
This commit is contained in:
@@ -270,10 +270,10 @@ Route::prefix('damages')
|
||||
Route::get('/', 'index')->name('index');
|
||||
Route::get('/list', 'list')->name('list')->withoutMiddleware('permission:manage-damage');
|
||||
Route::post('/', 'store')->name('store');
|
||||
Route::get('/excel', 'excel')->name('excel');
|
||||
Route::get('/{damage}', 'show')->name('show');
|
||||
Route::post('/{damage}', 'update')->name('update');
|
||||
Route::post('/activate/{damage}', 'activate')->name('activate');
|
||||
Route::get('/excel', 'excel')->name('excel');
|
||||
});
|
||||
|
||||
Route::prefix('receipts')
|
||||
|
||||
Reference in New Issue
Block a user