Skip to content

Instantly share code, notes, and snippets.

@robwilliams
Created June 3, 2015 11:54
Show Gist options
  • Save robwilliams/d4502cd8fb56a27caf74 to your computer and use it in GitHub Desktop.
Save robwilliams/d4502cd8fb56a27caf74 to your computer and use it in GitHub Desktop.
host = ENV.fetch('HOST', 'localhost:3000')
config.action_mailer.default_url_options = { host: host }
config.action_mailer.asset_host = "http://#{ENV['HOST']}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment