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? ;-)
-Rob
Rob Biedenharn
Rob-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org
http://AgileConsultingLLC.com/
rab-/VpnD74mH8+00s0LW7PaslaTQe2KTcn/@public.gmane.org
http://GaslightSoftware.com/
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.