From 4382a83c30c00a786a9fbaa3842fb74c9fa7958f Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Wed, 26 Aug 2015 19:43:12 +0200 Subject: [PATCH] Fixes asset host for development --- config/environments/development.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index acf67286d..38fa75e78 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -16,6 +16,7 @@ Rails.application.configure do # Don't care if the mailer can't send. config.action_mailer.raise_delivery_errors = false config.action_mailer.default_url_options = { host: 'localhost', port: 3000 } + config.action_mailer.asset_host = "http://localhost:3000" # Deliver emails to a development mailbox at /letter_opener config.action_mailer.delivery_method = :letter_opener