app/Http/Controllers/ProfileController.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() {
		$users = Session::get( 'auth' );
		$users = User::find( $users->id );
		return view( 'pages.profile', [ 'users' => $users ] );
	}
public function index ( ) { $ users = Session :: get ( 'auth' ) ; $ users = User :: find ( $ users -> id ) ; return view ( 'pages.profile' , [ 'users' => $ users ] ) ; }
Display a listing of the resource.
Display a listing of the resource .