summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2024-12-30 20:01:16 +0100
committerMarius Peter <marius.peter@tutanota.com>2024-12-30 20:01:16 +0100
commitb52d4cd485830b759fe8380f42fc1a1e5989c7fc (patch)
tree6e838a5544e2985708f22bf842cf1a23a360d368 /app/controllers
parent7616d984cbab4e83c36b721b3a52188110ae7dfa (diff)
Fixed redirection bug.
Diffstat (limited to 'app/controllers')
-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