回答編集履歴

1

不要な代入を削除

2017/08/02 22:03

投稿

aro10
aro10

スコア4106

test CHANGED
@@ -22,9 +22,9 @@
22
22
 
23
23
  if($request->input("form_type") === "cookie_update"){
24
24
 
25
- #$response = $response->withCookie(cookie()->forever('search_default', $request->input("food")));
25
+ #$response->withCookie(cookie()->forever('search_default', $request->input("food")));
26
26
 
27
- $response = $response->cookie(cookie()->forever("search_default",$request->input("food")));
27
+ $response->cookie(cookie()->forever("search_default",$request->input("food")));
28
28
 
29
29
  }
30
30