public function allSquares($poolId)
 {
     return PoolSquare::where('user_id', '=', $this->user_id)->where('pool_id', '=', $poolId)->get();
 }
 public function scoreGamePost(Request $request)
 {
     $homeScore = $request->input('home_score');
     $awayScore = $request->input('away_score');
     $gameId = $request->input('game_id');
     $quarter = $request->input('quarter');
     Log::info($homeScore);
     Log::info($awayScore);
     $winningSquare = PoolSquare::where('home_score', '=', $homeScore)->where('away_score', '=', $awayScore)->update(array('status' => PoolSquare::STATUS_WINNER));
     Pool::where('id', '=', $gameId)->update(array('fq_winner_id' => $winningSquare['id']));
     $pool = Pool::find($gameId);
     Log::info($pool);
     Session::flash('info', 'Score Was Saved! -- Car:' . $homeScore . ' | Den: ' . $awayScore);
     $data = array('quarter' => $quarter, 'pool' => $pool['id']);
     return view('pool.score-game')->with($data);
 }