This commit is contained in:
alexandre-pereira
2015-03-20 15:48:08 +01:00
parent 2fdcf42f29
commit df7f8fc05a
9 changed files with 14 additions and 12 deletions

View File

@ -51,6 +51,7 @@ class GameController extends Controller {
$idRef = Cookie::get('referent');
$ref = Referent::find($idRef);
$configjeu = $ref->configjeu()->where('actifPuzzle', '=', '1')->first();
if($configjeu && count($configjeu->oeuvres) >= 1) {