Displaying 1 result from an estimated 1 matches for "here_my_host_i_want_get".
2011 Jan 17
3
Getting Hostname in mailer view
...l in my mails view. For restfull resources I can use
routing and "..._url" target. But for custom url I don''t know how I
get the hostname of my web app.
I didn''t know how I can get get the value specified on
config.action_mailer.default_url_options = {:host =>
"here_my_host_i_want_get" }
Thanks for reply
Vincent
--
Posted via http://www.ruby-forum.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.or...