add profile pengguna

This commit is contained in:
hafifierahman
2023-01-09 01:50:12 +08:00
parent 9bcd9c90b2
commit 55b116754c
7 changed files with 187 additions and 3 deletions
@@ -0,0 +1,20 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Session;
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Facades\Storage;
use Carbon\Carbon;
class PenggunaController extends Controller
{
public function index(){
$api_url = config('api.url');
$auth_user = Auth::user();
return view('pengguna.index',compact('api_url','auth_user'));
}
}