forked from External/greenlight
		
	Merge pull request #80 from daronco/fix-missing-smtp_from
Fix missing 'smtp_from' variable when notifications are turned off
This commit is contained in:
		@@ -70,6 +70,9 @@ module Greenlight
 | 
			
		||||
      config.action_mailer.default_options = {
 | 
			
		||||
        from: config.smtp_from
 | 
			
		||||
      }
 | 
			
		||||
    else
 | 
			
		||||
      # this needs to be set because it's always used to configure mailers
 | 
			
		||||
      config.smtp_from = ""
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user