Added achievement data

This commit is contained in:
dredgy committed 2026-04-28 22:16:21 +10:00
1 parent 14aed7bf6e
commit b94b1d8ec2
43 files changed
+1559 -130

No files matched your search

@@ -0,0 +1,17 @@
<?php
namespace App\Http\Controllers;
use App\Models\Notification;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Http\Request;
class NotificationController extends Controller
{
use AuthorizesRequests;
public function markRead(Request $request, Notification $notification)
{
$this->authorize('update', $notification);
$notification->markAsRead();
}
}