From 919d1afdb5d54770a73c3afe925051f254497c9c Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Mon, 30 Sep 2024 18:23:26 +1300 Subject: [PATCH] Fix `redirect!` usage. --- pages/controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/controller.rb b/pages/controller.rb index d8b2493..c0b9298 100644 --- a/pages/controller.rb +++ b/pages/controller.rb @@ -19,7 +19,7 @@ end if request.params["to"] - redirect request.params["to"] + redirect! request.params["to"] else redirect! "/customers/index" end