I have an application that needs to redirect to an external url in a
new window directly from the controller. I have not been able to
figure out how. Can someone give me some pointers.
The URL is calculated based upon user input and database columns.
I have an application that needs to redirect to an external url in a
new window directly from the controller. I have not been able to
figure out how. Can someone give me some pointers.
You can'thave the redirect do the new window bit - the url the user
clicks on must specify that it opens in a new window. Aside from that
it's just a question of redirect_to "http://www.example.com"