コード例 #1
0
ファイル: CriticalController.php プロジェクト: echiteri/iBLIS
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     // Get measures list
     $measures = Measure::lists('name', 'id');
     //Get the critical
     $critical = Critical::find($id);
     //Open the Edit View and pass to it the $critical
     return view('critical.edit')->with('critical', $critical)->with('measures', $measures);
 }