ArthurDiniz

@wickley thk u. I used just to see if i was passing the log in user, but got stuck on how to hide that field or remove it....

spodlogar

@spodlogar can u explain somethin? do i need to use

$user = Auth::user();
    return view('services.create')->withUser($user);

in every function , controller?

No. you can just use Auth::user() or the helper function auth()->user().

Please sign in or create an account to participate in this conversation.