22 lines
397 B
PHP
22 lines
397 B
PHP
<?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,
|
|
]);
|
|
}
|
|
}
|