Rendering absolute paths by default

Hello,
Is there any setting to make all urls render full address as opposed
to relative by default?
so call to: users_path -> http:localhost:3000/users as opposed to /
users

thanks,
Slava

On Mar 9, 2011, at 4:00 PM, slava wrote:

Hello,
Is there any setting to make all urls render full address as opposed
to relative by default?
so call to: users_path -> http:localhost:3000/users as opposed to /
users

thanks,
Slava

Just use the _url form of the helper:

users_url => http://localhost:3000/users

Good enough? :wink:

-Rob

Rob B.
removed_[email protected] http://AgileConsultingLLC.com/
[email protected] http://GaslightSoftware.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