From eed03d0e0efd62a7420cf00381cc4fd20bb96355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baza=CC=81n?= Date: Thu, 2 Feb 2017 16:11:15 +0100 Subject: [PATCH] show existing results also on creation error --- app/controllers/officing/results_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/officing/results_controller.rb b/app/controllers/officing/results_controller.rb index e716b8c8b..76e4dff3e 100644 --- a/app/controllers/officing/results_controller.rb +++ b/app/controllers/officing/results_controller.rb @@ -72,6 +72,7 @@ class Officing::ResultsController < Officing::BaseController params[:oa] = results_params[:officer_assignment_id] flash.now[:alert] = (alert || t("officing.results.flash.error_create")) load_officer_assignments + load_partial_results render :new end