|
|
@ -54,7 +54,7 @@ class HopAdditionController extends Controller |
|
|
|
$hops = Hop::orderBy('name')->get(); |
|
|
|
$selected_hop = $hopaddition->hop_id; |
|
|
|
$data = array('hopaddition'=>$hopaddition, 'beers'=>$beers, 'hops'=>$hops, 'selected_beer'=>$selected_beer, 'selected_hop'=>$selected_hop); |
|
|
|
return view('hopadditions.edit')->with('hopaddition', $hopaddition); |
|
|
|
return view('hopadditions.edit')->with($data); |
|
|
|
} |
|
|
|
|
|
|
|
public function update(Request $request, $id){ |
|
|
|