Просмотр исходного кода

Supress pop up emails

- Emails will only be visible by visiting /letter_opener
- Helps with those who leave Huginn running on their dev machine
Will Read 9 лет назад
Родитель
Сommit
5f731d55bf
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      config/environments/development.rb

+ 1 - 1
config/environments/development.rb

@@ -43,7 +43,7 @@ Huginn::Application.configure do
   if ENV['SEND_EMAIL_IN_DEVELOPMENT'] == 'true'
   if ENV['SEND_EMAIL_IN_DEVELOPMENT'] == 'true'
     config.action_mailer.delivery_method = :smtp
     config.action_mailer.delivery_method = :smtp
   else
   else
-    config.action_mailer.delivery_method = :letter_opener
+    config.action_mailer.delivery_method = :letter_opener_web
   end
   end
   # smtp_settings moved to config/initializers/action_mailer.rb
   # smtp_settings moved to config/initializers/action_mailer.rb
 end
 end