mirror of
https://repo.getmonero.org/AnonDev/xmrmemes.git
synced 2024-10-01 05:25:34 -04:00
18 lines
333 B
PHP
18 lines
333 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use Illuminate\Http\Request;
|
|
use App\Models\User;
|
|
|
|
class UserController extends Controller
|
|
{
|
|
public function show($id)
|
|
{
|
|
$data = [
|
|
'user' => User::with('memes')->where('id', $id)->firstOrFail(),
|
|
];
|
|
return view('profile', ['data' => $data]);
|
|
}
|
|
}
|