From d89f9ac65b894d466f8acbbd5bea4122ff3d3f0c Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Mon, 15 Oct 2018 19:43:24 +0200 Subject: [PATCH] Redirect to the customer after editing it All other edit/forms redirect to the same page, why not this one? --- stoptime.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stoptime.rb b/stoptime.rb index 3ab8a12..00795b4 100644 --- a/stoptime.rb +++ b/stoptime.rb @@ -1097,7 +1097,7 @@ module StopTime::Controllers return render :customer_form end end - redirect R(Customers) + redirect R(CustomersN, customer_id) end end # class StopTime::Controllers::CustomersN