app/Http/Controllers/AgenteController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $user = User::find(Auth::user()->id);
        return view('agente.cadastrar_agente')->with(["user"=>$user->email]);
    }
public function create ( ) { $ user = User :: find ( Auth :: user ( ) -> id ) ; return view ( 'agente.cadastrar_agente' ) -> with ( [ " user " => $ user -> email ] ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .
// Tela de conclusão de cadastro de agente