8
app/mailers/dashboard/mailer.rb
Normal file
8
app/mailers/dashboard/mailer.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
class Dashboard::Mailer < ApplicationMailer
|
||||
layout 'dashboard/mailer'
|
||||
|
||||
def forward(proposal)
|
||||
@proposal = proposal
|
||||
mail to: proposal.author.email, subject: proposal.title
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user