Created
October 6, 2022 07:48
-
-
Save turbod/093bd0aa7b0bde562e0359e88f519d7e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
path = URI.parse(params[:url]).path.presence || "/" | |
redirect_to path |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment