/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { $terminal = Terminal::find($id); return view('terminal.edit')->withTerminal($terminal); }