some progress

This commit is contained in:
2025-01-29 22:52:22 +02:00
parent 86eef55170
commit 1362ceb642
5 changed files with 61 additions and 2 deletions
+7 -1
View File
@@ -2,9 +2,15 @@
namespace App\Http\Controllers;
use App\Models\Person;
use Illuminate\Http\Request;
class CelebrityController extends Controller
{
//
public function show(string $slug)
{
$celebrity = Person::where('slug', $slug)->first();
return view('celebrity.show', compact('celebrity'));
}
}