Beispiel #1
0
 /**
  *
  *  @param int $id - Structure id
  *  @return View
  */
 public function getEditStruct($id)
 {
     $lngList = Languages::lists('lang_name', 'id');
     $struct = Structure::with('trl')->findOrFail((int) $id);
     return view('admin.main.edit_struct', compact('lngList', 'struct'));
 }