File: /home/xedaptot/ai.naniguide.com/app/Http/Controllers/Refactor/Admin/NotificationController.php
<?php
namespace App\Http\Controllers\Refactor\Admin;
use App\Http\Controllers\Refactor\BaseNotificationController;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
class NotificationController extends BaseNotificationController
{
protected function inboxQuery(): Builder
{
return $this->actor()->inboxNotifications();
}
protected function actor(): Model
{
return request()->user()->admin;
}
protected function viewPath(): string
{
return 'refactor.pages.admin.notifications';
}
protected function routePrefix(): string
{
return 'refactor.admin.notifications';
}
}