polishing
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Http\Resources\DynamicResource;
|
||||
use App\Models\Dynamic;
|
||||
use App\Models\User;
|
||||
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
|
||||
@@ -44,7 +45,7 @@ class ParticipantController extends Controller
|
||||
->get();
|
||||
|
||||
return Inertia::render('Dynamics/Participants/Show', [
|
||||
'dynamic' => $dynamic,
|
||||
'dynamic' => new DynamicResource($dynamic),
|
||||
'participant' => [
|
||||
'id' => $user->id,
|
||||
'name' => $user->name,
|
||||
|
||||
Reference in New Issue
Block a user