Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -33,7 +33,7 @@ class ApplicationController < HeimdallEngine::ApplicationController | ... | @@ -33,7 +33,7 @@ class ApplicationController < HeimdallEngine::ApplicationController |
33 | def check_results | 33 | def check_results |
34 | return [] unless current_user | 34 | return [] unless current_user |
35 | current_user.bets.joins(:match).order('matches.date desc') | 35 | current_user.bets.joins(:match).order('matches.date desc') |
36 | - .where.not(result: nil) | 36 | + .where.not(points: nil) |
37 | .limit(5) | 37 | .limit(5) |
38 | end | 38 | end |
39 | end | 39 | end | ... | ... |
-
Please register or login to post a comment