This commit is contained in:
parent
212185af7a
commit
20a91eb015
@ -98,7 +98,7 @@ class GameController extends Controller {
|
||||
break;
|
||||
}
|
||||
|
||||
Response::make('records')->withCookie(Cookie::forever('trophee', $values));
|
||||
return Response::make('all good!')->withCookie(Cookie::forever('trophee', $values));
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -23,6 +23,7 @@ class HomeController extends Controller {
|
||||
public function index()
|
||||
{
|
||||
$values = Cookie::get('trophee');
|
||||
print_r($values);
|
||||
if ($values === false)
|
||||
$values = [0, 0, 0];
|
||||
|
||||
|
Reference in New Issue
Block a user