feat: add reminder per package
This commit is contained in:
@@ -102,4 +102,16 @@
|
||||
Route::delete('/promotions/{promotion}', [PromotionController::class, 'destroy']);
|
||||
|
||||
Route::get('/asanpardakht/pay', [AsanPardakhtController::class, 'pay']);
|
||||
|
||||
|
||||
Route::middleware('abilities:admin')->prefix('package-names/{package_name}/reminders')
|
||||
->middleware('auth:sanctum')
|
||||
->controller(ReminderController::class)
|
||||
->group(function () {
|
||||
Route::get('/', 'packageIndex');
|
||||
Route::post('/', 'packageStore');
|
||||
Route::put('/{reminder}', 'packageUpdate');
|
||||
Route::delete('/{reminder}', 'packageDestroy');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user