This commit is contained in:
alexandre-pereira 2015-03-20 19:51:35 +01:00
parent 212185af7a
commit 20a91eb015
2 changed files with 3 additions and 2 deletions

View File

@ -97,8 +97,8 @@ class GameController extends Controller {
default:
break;
}
Response::make('records')->withCookie(Cookie::forever('trophee', $values));
return Response::make('all good!')->withCookie(Cookie::forever('trophee', $values));
}
}

View File

@ -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];