Пример #1
0
 /**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function show($id)
 {
     // get the nerd
     $user = User::find($id);
     // show the view and pass the nerd to it
     return view('users.show')->with('user', $user);
 }