mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-02-06 11:38:52 -06:00
(Update) Notifications System
- add paginate
This commit is contained in:
@@ -15,7 +15,7 @@ class NotificationController extends Controller
|
||||
*/
|
||||
public function get()
|
||||
{
|
||||
$notification = auth()->user()->notifications;
|
||||
$notification = auth()->user()->notifications()->paginate(25);
|
||||
|
||||
return view('notification.notifications', ['notification' => $notification]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user