Add these lines in routes/web.php inside the same auth middleware group as notifications.index
(usually right after the /notifications/wire-status route):

    Route::get('/notifications/restriction-notice/pdf', [NotificationCenterController::class, 'downloadCurrentRestrictionNoticePdf'])->name('notifications.restriction-notice.pdf.current');
    Route::get('/notifications/restriction-notic/pdf', [NotificationCenterController::class, 'downloadCurrentRestrictionNoticePdf'])->name('notifications.restriction-notic.pdf.current');
    Route::get('/notifications/restriction-notice/{notification}/pdf', [NotificationCenterController::class, 'downloadRestrictionNoticePdf'])->name('notifications.restriction-notice.pdf');

Then run: php artisan route:clear && php artisan optimize:clear
