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.

···

--
Posted via http://www.ruby-forum.com/.

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

···

On 7/21/06, Nimisha Mohandas <nimishapm@gmail.com> wrote:

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.

--
Posted via http://www.ruby-forum.com/.