Say I create some custom iOS url: customurl
In my rails controller
redirect_to "customurl://"
produces at runtime:
ERROR URI::InvalidURIError: bad URI(absolute but no path): customurl://
When I append some arbitrary path the redirect is successful.
redirect_to "customurl://w"
(User must now accept the page load, as opposed to a seamless redirect, which is undesirable).
Anyone have a solution to redirect to a custom url without some arbitrary path?
Thanks.