Redirecting to an external url


#1

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.

Thanks
Don F.


#2

On Oct 30, 7:43 am, Don F. removed_email_address@domain.invalid wrote:

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

Fred