Commit c5339c7681449797968d1f16a51a0fe68e3ddcfa
1 parent
20d51a81
Exists in
master
and in
26 other branches
sendemail_plugin: defined content_type for email
Also removed "profile" param from confirmation view and email
Showing
3 changed files
with
3 additions
and
1 deletions
Show diff stats
plugins/send_email/lib/send_email_plugin/mail.rb
... | ... | @@ -35,7 +35,7 @@ class SendEmailPlugin::Mail |
35 | 35 | end |
36 | 36 | |
37 | 37 | def params=(value = {}) |
38 | - [:action, :controller, :to, :message, :subject, :from, :commit].each{|k| value.delete(k)} | |
38 | + [:profile, :action, :controller, :to, :message, :subject, :from, :commit].each{|k| value.delete(k)} | |
39 | 39 | @params = value |
40 | 40 | end |
41 | 41 | ... | ... |
plugins/send_email/lib/send_email_plugin/sender.rb
plugins/send_email/views/send_email_plugin/sender/send_message.html.erb