Commit f79e308d0b3fc6237ae06f2c05b6c3d5e6f703eb

Authored by Nick Recobra
1 parent ba17fba9
Exists in master and in 1 other branch production

Default url options for production env. Thanks khoan for the fix.

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
config/initializers/default_url_options.rb 0 → 100644
... ... @@ -0,0 +1,3 @@
  1 +(Errbit::Application.config.action_mailer.default_url_options ||= {}).tap do |default|
  2 + default.merge! :host => Errbit::Config.host if default[:host].blank?
  3 +end
... ...