public function manage($id) { $meal = Meal::find($id); $portions = Portion::all(); $portionTypes = PortionType::all(); return \View::make('meals.add')->with(['portionTypes' => $portionTypes, 'meal' => $meal, 'portions' => $portions])->render(); }
public function ingredients($id) { $portion = Portion::find($id); $types = PortionType::all(); return \View::make('portions.ingredients')->with(['types' => $types, 'portion' => $portion])->render(); }