回答編集履歴
1
不要な代入を削除
test
CHANGED
@@ -22,9 +22,9 @@
|
|
22
22
|
|
23
23
|
if($request->input("form_type") === "cookie_update"){
|
24
24
|
|
25
|
-
#$response
|
25
|
+
#$response->withCookie(cookie()->forever('search_default', $request->input("food")));
|
26
26
|
|
27
|
-
$response
|
27
|
+
$response->cookie(cookie()->forever("search_default",$request->input("food")));
|
28
28
|
|
29
29
|
}
|
30
30
|
|