When a rails 4 application is hosted on a subdomain e.g. sub.domain.com, how can you get urls in Action Mailer templates to link to the subdomain correctly? config/environments/production.rb: config.action_mailer.default_url_options = { :host => 'sub.domain.com' } action mailer template link example: <%= user_url(@user) %> In the email, the link shows as www.domain.com/users/1 rather then sub.doma
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}