Пример #1
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  *
  * @return Response
  */
 public function edit($id)
 {
     $regiuni = Regiuni::findOrFail($id);
     $tari = Tari::all()->lists('Name', 'AidaID');
     return view('backend/geografie.regiuni.edit', compact('regiuni'), compact('tari'));
 }
Пример #2
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  *
  * @return Response
  */
 public function edit($id)
 {
     $orase = Orase::findOrFail($id);
     $tari = Tari::all()->lists('Name', 'AidaID');
     return view('backend/geografie.orase.edit', compact('orase'), compact('tari'));
 }