summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/controllers/scores_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/scores_controller.rb b/app/controllers/scores_controller.rb
index 650c4e6..8d494e4 100644
--- a/app/controllers/scores_controller.rb
+++ b/app/controllers/scores_controller.rb
@@ -33,7 +33,7 @@ class ScoresController < ApplicationController
redirect_to root_path,
notice: "Vos scores pour la tartiflette #{@tartiflette.scoring_id} ont été mis à jour."
rescue StandardError => e
- redirect_to edit_tartiflette_scores_path(@tartiflette),
+ redirect_to root_path,
alert: "Erreur lors de l'enregistrement de vos scores : #{e.message}"
end
Copyright 2019--2025 Marius PETER