Map.connect to new window?

Is there anything you can add to a map.connect in routes.rb that will
cause the browser to open the requested controller/action in a new
window instead of the current one?

thanks,
jp

P.s. yes, I know there are other ways to do this with target=_blank, rjs
page.open, etc. I’m wondering if there is a way to do it directly in
the routing.

On 5/3/07, Jeff P. [email protected] wrote:

Is there anything you can add to a map.connect in routes.rb that will
cause the browser to open the requested controller/action in a new
window instead of the current one?

Nope.


Rick O.
http://lighthouseapp.com
http://weblog.techno-weenie.net
http://mephistoblog.com

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