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