Domain inconsistencies when using controller_url


#1

Dear all,

For example my site is ‘domain.com

But when I use ‘controller_url(:id => some_id)’

It gives me ‘www.domain.com/controller/id

Worse yet, sometime it even gives me

‘www.other_domain.com/controller/id’ where ‘other_domain.com’ is pointed
to the same IP.

What would be a quick remedy to this.

Thank you.

Shark