Merge pull request #1167 from internetee/remove-hardcoded-default-email-sender

Remove hardcoded default email sender
This commit is contained in:
Timo Võhmar 2019-04-24 15:20:38 +03:00 committed by GitHub
commit ee20535e92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 1 deletions

View file

@ -1,6 +1,5 @@
class ApplicationMailer < ActionMailer::Base
append_view_path Rails.root.join('app', 'views', 'mailers')
default from: 'noreply@internet.ee'
layout 'mailer'
def format(email)