ok

Mini Shell

Direktori : /home2/selectio/www/limpiar.in.net/updates/app/Http/Controllers/Seller/
Upload File :
Current File : /home2/selectio/www/limpiar.in.net/updates/app/Http/Controllers/Seller/NotificationController.php

<?php

namespace App\Http\Controllers\Seller;

use Auth;

class NotificationController extends Controller
{
    public function index() {
        $notifications = auth()->user()->notifications()->paginate(15);
        auth()->user()->unreadNotifications->markAsRead();
        
        return view('seller.notification.index', compact('notifications'));
    }
}

Zerion Mini Shell 1.0