Skip to content

Commit

Permalink
Fix redirect! usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Sep 30, 2024
1 parent 13e679d commit 919d1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
end

if request.params["to"]
redirect request.params["to"]
redirect! request.params["to"]
else
redirect! "/customers/index"
end
Expand Down

0 comments on commit 919d1af

Please sign in to comment.