Routes.rb

Can we configure an external URL through routes.rb in ruby on rails.

For example I want something like this:

map.connect '/test,:url=>‘www.yahoo.com

Is this Possible.

No. The easiest way would be to create a new controller that redirects.
Also check out http://lists.rubyonrails.org/mailman/listinfo/rails

j`ey
http://www.eachmapinject.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