mirror of
https://repo.getmonero.org/AnonDev/xmrmemes.git
synced 2024-12-22 22:19:25 -05: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]);
|
|
}
|
|
}
|