Initial Commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Inertia\Inertia;
|
||||
use Inertia\Response;
|
||||
|
||||
class MessagesController extends Controller
|
||||
{
|
||||
public function index(): Response
|
||||
{
|
||||
return Inertia::render('Messages/Index');
|
||||
}
|
||||
|
||||
public function show(string $threadId): Response
|
||||
{
|
||||
return Inertia::render('Messages/Show', [
|
||||
'threadId' => $threadId,
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user