app/Http/Controllers/PlanController.php
/**
	 * Show the form for editing the specified resource.
	 *
	 * @param  int  $id
	 * @return Response
	 */
Show the form for editing the specified resource.
@param  int  $id
@return Response
Show the form for editing the specified resource . @param int $id @return Response
public function edit($id)
	{
		$plan = Plan::find($id);
		$planInfo = $plan->getInfo();
		return view('planes.edit', compact('plan', 'planInfo'));
	}
public function edit ( $ id ) { $ plan = Plan :: find ( $ id ) ; $ planInfo = $ plan -> getInfo ( ) ; return view ( 'planes.edit' , compact ( 'plan' , 'planInfo' ) ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .