Re: How do you get link_to to work correctly when using subd

Eric,

   options[:host] = host.join '.'
 end

 return super(options, *params)

end

Thank you very much, though this breaks when using WEBrick (or Lighty
on a port other than 80) so I added the following after options[:host]
= host.join ‘.’

  options[:host] = [ options[:host], @request.port ].join ':'

unless @request.port == 80

It looks ugly, but it works.

Regards,
Sean