app/Http/Controllers/Admin/MyProfileController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $myUser = Auth::User();
        return view('admin.myprofile.index')->with('myuser', $myUser);
    }
public function index ( ) { $ myUser = Auth :: User ( ) ; return view ( 'admin.myprofile.index' ) -> with ( 'myuser' , $ myUser ) ; }
Display a listing of the resource.
Display a listing of the resource .