app/mailers/pageflow/user_mailer.rb in pageflow-0.0.5 vs app/mailers/pageflow/user_mailer.rb in pageflow-0.1.0
- old
+ new
@@ -1,12 +1,10 @@
module Pageflow
class UserMailer < ActionMailer::Base
include Resque::Mailer
- default :from => "pageflow@codevise.de"
-
def invitation(options)
@user = User.find(options['user_id'])
- mail(:to => @user.email, :subject => t('.subject'))
+ mail(:to => @user.email, :subject => t('.subject'), :from => Pageflow.config.mailer_sender)
end
end
end