/** * Show the form for editing the specified resource. * GET /plan/{id}/edit * * @param int $id * @return Response */ public function edit($id) { $user = Auth::user(); $club = $user->Clubs()->FirstOrFail(); $plan = Plan::find($id); $frequency = Frequency::where('name', '=', 'Monthly')->lists('name', 'id'); $title = 'League Together - ' . $club->name . ' Plan'; return View::make('app.club.plan.edit')->with('page_title', $title)->with('club', $club)->with('plan', $plan)->with('frequency', $frequency)->withUser($user); }