diff options
Diffstat (limited to 'app/controllers/scores_controller.rb')
-rw-r--r-- | app/controllers/scores_controller.rb | 2 |
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 |