/** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { $user = User::findOrNew($id); $context = ['user' => $user]; return view('admin.user.input', $context); }