From 1a60ee5192c0e847b18ec6e68c7ba7f075c04562 Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 16 Oct 2024 15:20:56 +0300 Subject: [PATCH] Fix redirect to index --- modules/reporting/app/controllers/cost_reports_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/reporting/app/controllers/cost_reports_controller.rb b/modules/reporting/app/controllers/cost_reports_controller.rb index 71567b53dad7..edb12e8baf26 100644 --- a/modules/reporting/app/controllers/cost_reports_controller.rb +++ b/modules/reporting/app/controllers/cost_reports_controller.rb @@ -152,7 +152,7 @@ def destroy else raise ActiveRecord::RecordNotFound end - redirect_to action: "index", default: 1 + redirect_to action: "index", default: 1, id: nil end ##