analysators added

This commit is contained in:
Anatoliy Poloz
2023-12-18 14:36:32 +03:00
parent e9c4647f26
commit 92a54106ef
166 changed files with 32767 additions and 1222 deletions

View File

@@ -29,7 +29,6 @@ class RecipeController extends Controller
/**
* Display the specified resource.
*
* @param \App\Models\Recipe $recipe
* @return \Illuminate\Http\Response
*/
public function show(Recipe $recipe)
@@ -37,7 +36,7 @@ class RecipeController extends Controller
$data = [
'author' => $recipe->author()->first(),
'tags' => $recipe->tags()->get(),
'recipe' => $recipe
'recipe' => $recipe,
];
$expiresAt = now()->addHours(24);
@@ -52,12 +51,10 @@ class RecipeController extends Controller
/**
* Show the form for editing the specified resource.
*
* @param \App\Models\Recipe $recipe
* @return \Illuminate\Http\Response
*/
public function edit(Recipe $recipe)
{
return view('recipe/edit_form', ['recipe' => $recipe]);
}
}