Redirecting to an external url

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.

On Oct 30, 7:43 am, Don F. [email protected] 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs