App\Http\Controllers\RecipesController::edit PHP Method

edit() public method

Show the form for editing the specified resource.
public edit ( Recipe $recipe ) : Response
$recipe app\models\Recipe
return Response
    public function edit(Recipe $recipe)
    {
        return view('recipes.edit')->with('recipe', $recipe);
    }