|
|
@ -65,8 +65,8 @@ class GrainController extends Controller |
|
|
|
} |
|
|
|
|
|
|
|
public function edit($id){ |
|
|
|
$brewery = Brewerie::where('id', (int)$id)->first(); |
|
|
|
return view('breweries.edit')->with('brewery', $brewery); |
|
|
|
$grain = Grain::where('id', (int)$id)->first(); |
|
|
|
return view('grains.edit')->with('grain', $grain); |
|
|
|
} |
|
|
|
|
|
|
|
public function update(Request $request, $id){ |
|
|
|