summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/services/tartiflette_scoring_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/tartiflette_scoring_service.rb b/app/services/tartiflette_scoring_service.rb
index 2c12025..6df2f0c 100644
--- a/app/services/tartiflette_scoring_service.rb
+++ b/app/services/tartiflette_scoring_service.rb
@@ -1,7 +1,7 @@
class TartifletteScoringService
def self.scored?(tartiflette, session)
session[:scored_tartiflettes] ||= []
- session[:scored_tartiflettes]&.include?(tartiflette.id)
+ session[:scored_tartiflettes].include?(tartiflette.id)
end
def self.mark_as_scored(tartiflette, session)
Copyright 2019--2025 Marius PETER