mirror of
https://repo.getmonero.org/AnonDev/xmrmemes.git
synced 2025-05-03 06:54:51 -04:00
Initial Commit
This commit is contained in:
commit
cc2af611e1
148 changed files with 54234 additions and 0 deletions
17
app/Http/Controllers/UserController.php
Normal file
17
app/Http/Controllers/UserController.php
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?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]);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue