From 87a0fa09608ebb068df497d0b212a98dbec8476a Mon Sep 17 00:00:00 2001 From: Mauricio Giacomini Girardello <mgg12@inf.ufpr.br> Date: Wed, 25 May 2016 11:13:17 -0300 Subject: [PATCH] adding mailcatcher to development env --- config/environments/development.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/environments/development.rb b/config/environments/development.rb index aea837f6..987efaf2 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -54,5 +54,6 @@ Rails.application.configure do #config.action_mailer.default_url_options = { host: 'localhost', port: 3000 } # Lets define mailcatcher configs config.action_mailer.delivery_method = :smtp - config.action_mailer.smtp_settings = { :address => "localhost", :port => 1025 } + config.action_mailer.smtp_settings = { address: 'localhost', port: 1025 } + config.action_mailer.default_url_options = { host: 'localhost', port: 3000 } end -- GitLab