|
|
@ -59,7 +59,7 @@ class FermentationController extends Controller |
|
|
|
$selected_beer = $fermentation->beer_id; |
|
|
|
$yeasts = Yeast::orderBy('name')->get(); |
|
|
|
$selected_yeast = $fermentation->yeast_id; |
|
|
|
$selected_alt = $fermenation->alternative; |
|
|
|
$selected_alt = $fermentation->alternative; |
|
|
|
$data = array('fermentation'=>$fermentation, 'beers'=>$beers, 'yeasts'=>$yeasts, 'selected_beer'=>$selected_beer, 'selected_yeast'=>$selected_yeast, 'selected_alt'=>$selected_alt); |
|
|
|
return view('fermentations.edit')->with($data); |
|
|
|
} |
|
|
|