소스 검색

adds GMAIL_USERNAME to systemmailer

Robert Whitney 12 년 전
부모
커밋
76c310ae85
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/mailers/system_mailer.rb

+ 1 - 1
app/mailers/system_mailer.rb

@@ -1,5 +1,5 @@
 class SystemMailer < ActionMailer::Base
-  default from: "huginn@your-google-apps-domain.com"
+  default from: ENV['GMAIL_USERNAME']
 
   def send_message(options)
     @lines = options[:lines]