|
@ -88,8 +88,8 @@ class SummarieController extends Controller |
|
|
'brewery_id' => 'required' |
|
|
'brewery_id' => 'required' |
|
|
]); |
|
|
]); |
|
|
|
|
|
|
|
|
$beer = Summarie::where('beer_id', $id)->first(); |
|
|
|
|
|
$beer->beer_id=$request->input('beer_id'); |
|
|
|
|
|
|
|
|
$beer = Summarie::where('beer_id', (int)$id)->first(); |
|
|
|
|
|
$beer->beer_id=$beer->beer_id; |
|
|
$beer->name = $request->input('name'); |
|
|
$beer->name = $request->input('name'); |
|
|
$beer->type = $request->input('type'); |
|
|
$beer->type = $request->input('type'); |
|
|
$beer->abv = $request->input('abv'); |
|
|
$beer->abv = $request->input('abv'); |
|
|