Initial Commit

This commit is contained in:
dev 2021-07-15 23:35:54 -07:00
commit cc2af611e1
148 changed files with 54234 additions and 0 deletions

View 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]);
}
}